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
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
target.c
diff --git
a/lustre/ptlrpc/target.c
b/lustre/ptlrpc/target.c
index
3dc9675
..
ecf1e30
100644
(file)
--- a/
lustre/ptlrpc/target.c
+++ b/
lustre/ptlrpc/target.c
@@
-309,6
+309,8
@@
void lut_cb_last_committed(struct lu_target *lut, __u64 transno,
} else {
spin_unlock(&lut->lut_translock);
}
+ LASSERT(atomic_read(&exp->exp_cb_count) > 0);
+ atomic_dec(&exp->exp_cb_count);
class_export_put(exp);
if (transno)
CDEBUG(D_HA, "%s: transno "LPD64" is committed\n",