Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d14f463
)
Branch HEAD
author
yangsheng
<yangsheng>
Sat, 29 Dec 2007 03:07:42 +0000
(
03:07
+0000)
committer
yangsheng
<yangsheng>
Sat, 29 Dec 2007 03:07:42 +0000
(
03:07
+0000)
b=13752
i=shadow
i=adilger
Initialize list node before reference.
lustre/ptlrpc/connection.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/connection.c
b/lustre/ptlrpc/connection.c
index
b2e0d85
..
df65cf0
100644
(file)
--- a/
lustre/ptlrpc/connection.c
+++ b/
lustre/ptlrpc/connection.c
@@
-103,6
+103,8
@@
struct ptlrpc_connection *ptlrpc_get_connection(lnet_process_id_t peer,
atomic_set(&c->c_refcount, 1);
c->c_peer = peer;
c->c_self = self;
+ INIT_HLIST_NODE(&c->c_hash);
+ INIT_LIST_HEAD(&c->c_link);
if (uuid != NULL)
obd_str2uuid(&c->c_remote_uuid, uuid->uuid);