Whamcloud - gitweb
LU-826 mdd: Fix for mdd_lov_create_finish memory free
[fs/lustre-release.git] / lustre / mdd / mdd_lov.c
index 860d19d..46d1580 100644 (file)
@@ -376,7 +376,7 @@ void mdd_lov_create_finish(const struct lu_env *env, struct mdd_device *mdd,
                            const struct md_op_spec *spec)
 {
         if (lmm && !spec->no_create)
                            const struct md_op_spec *spec)
 {
         if (lmm && !spec->no_create)
-                OBD_FREE(lmm, lmm_size);
+                OBD_FREE_LARGE(lmm, lmm_size);
 }
 
 int mdd_lov_create(const struct lu_env *env, struct mdd_device *mdd,
 }
 
 int mdd_lov_create(const struct lu_env *env, struct mdd_device *mdd,