[Sheepdog] [PATCH] collie: fix resume_pending_requests

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon May 10 14:24:11 CEST 2010


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 collie/net.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/collie/net.c b/collie/net.c
index 137454d..7ba2456 100644
--- a/collie/net.c
+++ b/collie/net.c
@@ -46,7 +46,7 @@ void resume_pending_requests(void)
 		list_add_tail(&cevent->cpg_event_list, &sys->cpg_event_siblings);
 	}
 
-	if (list_empty(&sys->cpg_event_siblings))
+	if (!list_empty(&sys->cpg_event_siblings))
 		start_cpg_event_work();
 }
 
-- 
1.5.6.5




More information about the sheepdog mailing list