[Sheepdog] [PATCH] only the joined and left nodes have reason
andychenzy at gmail.com
andychenzy at gmail.com
Thu Sep 29 08:34:49 CEST 2011
From: Andy chen <andychenzy at gmail.com>
Signed-off-by: Andy chen <andychenzy at gmail.com>
---
sheep/group.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/sheep/group.c b/sheep/group.c
index 00330d1..2e0aed2 100644
--- a/sheep/group.c
+++ b/sheep/group.c
@@ -1866,9 +1866,8 @@ static void sd_confchg(cpg_handle_t handle, const struct cpg_name *group_name,
dprintf("%zd %zd %zd\n", member_list_entries, left_list_entries,
joined_list_entries);
for (i = 0; i < member_list_entries; i++) {
- dprintf("[%x] node_id: %x, pid: %d, reason: %d\n", i,
- member_list[i].nodeid, member_list[i].pid,
- member_list[i].reason);
+ dprintf("[%x] node_id: %x, pid: %d\n", i,
+ member_list[i].nodeid, member_list[i].pid);
}
if (sys->status == SD_STATUS_SHUTDOWN)
--
1.7.6.2
More information about the sheepdog
mailing list