[Sheepdog] [PATCH 1/5] fix cpg_event leak
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Thu May 6 09:06:23 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 b9f87b1..5ea2cf5 100644
--- a/collie/group.c
+++ b/collie/group.c
@@ -1238,10 +1238,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