Skip to content
Snippets Groups Projects
Commit 67627bb4 authored by Yang Sheng's avatar Yang Sheng
Browse files

Branch HEAD

b=13752
i=shadow
i=adilger

Initialize list node before reference.
parent d14f4638
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment