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
add b_cmd_cray branch
[fs/lustre-release.git]
/
lustre
/
obdclass
/
llog_obd.c
diff --git
a/lustre/obdclass/llog_obd.c
b/lustre/obdclass/llog_obd.c
index
ca20d5d
..
2178f9e
100644
(file)
--- a/
lustre/obdclass/llog_obd.c
+++ b/
lustre/obdclass/llog_obd.c
@@
-91,7
+91,10
@@
int __llog_ctxt_put(struct llog_ctxt *ctxt)
}
olg->olg_ctxts[ctxt->loc_idx] = NULL;
spin_unlock(&olg->olg_lock);
-
+
+ if (ctxt->loc_lcm)
+ lcm_put(ctxt->loc_lcm);
+
obd = ctxt->loc_obd;
spin_lock(&obd->obd_dev_lock);
spin_unlock(&obd->obd_dev_lock); /* sync with llog ctxt user thread */