obj_size = sizeof(struct lmv_stripe) *
lmv->desc.ld_tgt_count;
- OBD_ALLOC(obj->lo_stripes, obj_size);
+ OBD_ALLOC_LARGE(obj->lo_stripes, obj_size);
if (!obj->lo_stripes)
goto err_obj;
- memset(obj->lo_stripes, 0, obj_size);
-
CDEBUG(D_INODE, "Allocate object for "DFID"\n",
PFID(fid));
for (i = 0; i < mea->mea_count; i++) {
obj_size = sizeof(struct lmv_stripe) *
lmv->desc.ld_tgt_count;
- OBD_FREE(obj->lo_stripes, obj_size);
+ OBD_FREE_LARGE(obj->lo_stripes, obj_size);
OBD_SLAB_FREE(obj, lmv_object_cache, sizeof(*obj));
cfs_atomic_dec(&lmv_object_count);
}