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:
b6a3e3e
)
- Fix dumb iloop bug in dump_connection_list by properly using the list_head
author
shaver
<shaver>
Thu, 3 Oct 2002 19:45:04 +0000
(19:45 +0000)
committer
shaver
<shaver>
Thu, 3 Oct 2002 19:45:04 +0000
(19:45 +0000)
API. Sorry.
lustre/ptlrpc/recovd.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/recovd.c
b/lustre/ptlrpc/recovd.c
index
1d838af
..
5a29f6b
100644
(file)
--- a/
lustre/ptlrpc/recovd.c
+++ b/
lustre/ptlrpc/recovd.c
@@
-32,7
+32,8
@@
void recovd_conn_manage(struct ptlrpc_connection *conn,
rd->rd_next_phase = RD_TROUBLED;
spin_lock(&recovd->recovd_lock);
- list_add(&rd->rd_managed_chain, &recovd->recovd_managed_items);
+ INIT_LIST_HEAD(&rd->rd_managed_chain);
+ list_add(&recovd->recovd_managed_items, &rd->rd_managed_chain);
spin_unlock(&recovd->recovd_lock);
EXIT;