Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5fbc97
)
minor fix in lmv_get_mea_and_update_object().
author
niu
<niu>
Wed, 6 Jul 2005 07:53:00 +0000
(07:53 +0000)
committer
niu
<niu>
Wed, 6 Jul 2005 07:53:00 +0000
(07:53 +0000)
lustre/lmv/lmv_obd.c
patch
|
blob
|
history
diff --git
a/lustre/lmv/lmv_obd.c
b/lustre/lmv/lmv_obd.c
index
bd74795
..
cd8e337
100644
(file)
--- a/
lustre/lmv/lmv_obd.c
+++ b/
lustre/lmv/lmv_obd.c
@@
-887,8
+887,9
@@
int lmv_get_mea_and_update_object(struct obd_export *exp,
obj = lmv_create_obj(exp, id, md.mea);
if (IS_ERR(obj))
rc = PTR_ERR(obj);
-
- lmv_put_obj(obj);
+ else
+ lmv_put_obj(obj);
+
obd_free_memmd(exp, (struct lov_stripe_md **)&md.mea);
EXIT;