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
- Comment out put_connection until we resolve the dep issue
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
connection.c
diff --git
a/lustre/ptlrpc/connection.c
b/lustre/ptlrpc/connection.c
index
7a1d47b
..
0307ecb
100644
(file)
--- a/
lustre/ptlrpc/connection.c
+++ b/
lustre/ptlrpc/connection.c
@@
-109,6
+109,11
@@
int ptlrpc_put_connection(struct ptlrpc_connection *c)
int rc = 0;
ENTRY;
+ if (c == NULL) {
+ CERROR("NULL connection\n");
+ RETURN(0);
+ }
+
CDEBUG(D_INFO, "connection=%p refcount %d\n",
c, atomic_read(&c->c_refcount) - 1);
if (atomic_dec_and_test(&c->c_refcount)) {