[Sheepdog] [PATCH 1/6] fix cpg_event leak
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Wed May 5 21:08:32 CEST 2010
Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
---
collie/group.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/collie/group.c b/collie/group.c
index 452fe83..f2be243 100644
--- a/collie/group.c
+++ b/collie/group.c
@@ -1239,10 +1239,8 @@ static void cpg_event_done(struct work *w, int idx)
vprintf(SDOG_DEBUG "%p\n", cevent);
- if (cpg_event_suspended()) {
- cpg_event_clear_running();
- return;
- }
+ if (cpg_event_suspended())
+ goto out;
if (cevent->skip)
goto out;
--
1.6.5
More information about the sheepdog
mailing list