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
capa_renew should increase the refc.
[fs/lustre-release.git]
/
lustre
/
mds
/
mds_capa.c
diff --git
a/lustre/mds/mds_capa.c
b/lustre/mds/mds_capa.c
index
f72fcff
..
6f8d091
100644
(file)
--- a/
lustre/mds/mds_capa.c
+++ b/
lustre/mds/mds_capa.c
@@
-560,6
+560,7
@@
int mds_pack_capa(struct obd_device *obd, struct mds_export_data *med,
ocapa = capa_renew(capa, MDS_CAPA);
if (!ocapa)
rc = -ENOMEM;
+ capa_put(ocapa);
out:
if (rc == 0)
body->valid |= OBD_MD_CAPA;