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-488 ptlrpc_connection_put() LASSERT(!cfs_hlist_unhashed(&conn->c_hash))
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
connection.c
diff --git
a/lustre/ptlrpc/connection.c
b/lustre/ptlrpc/connection.c
index
00b37a9
..
c87569e
100644
(file)
--- a/
lustre/ptlrpc/connection.c
+++ b/
lustre/ptlrpc/connection.c
@@
-97,7
+97,7
@@
int ptlrpc_connection_put(struct ptlrpc_connection *conn)
if (!conn)
RETURN(rc);
- LASSERT(
!cfs_hlist_unhashed(&conn->c_hash)
);
+ LASSERT(
cfs_atomic_read(&conn->c_refcount) > 1
);
/*
* We do not remove connection from hashtable and