Whamcloud - gitweb
LU-9859 libcfs: use round_up directly
[fs/lustre-release.git] / lustre / llite / vvp_object.c
index 2e890ad..d96146d 100644 (file)
@@ -324,7 +324,7 @@ struct lu_object *vvp_object_alloc(const struct lu_env *env,
                obj = &vob->vob_cl.co_lu;
                hdr = &vob->vob_header;
                cl_object_header_init(hdr);
-               hdr->coh_page_bufsize = cfs_size_round(sizeof(struct cl_page));
+               hdr->coh_page_bufsize = round_up(sizeof(struct cl_page), 8);
 
                lu_object_init(obj, &hdr->coh_lu, dev);
                lu_object_add_top(&hdr->coh_lu, obj);