Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-826 mdd: Fix for mdd_lov_create_finish memory free
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_lov.c
diff --git
a/lustre/mdd/mdd_lov.c
b/lustre/mdd/mdd_lov.c
index
860d19d
..
46d1580
100644
(file)
--- a/
lustre/mdd/mdd_lov.c
+++ b/
lustre/mdd/mdd_lov.c
@@
-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,