[sheepdog] [PATCH] cluster/accord: fix compile errors

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Sun May 20 16:42:17 CEST 2012


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 sheep/cluster/accord.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sheep/cluster/accord.c b/sheep/cluster/accord.c
index f01c58f..a0b0b19 100644
--- a/sheep/cluster/accord.c
+++ b/sheep/cluster/accord.c
@@ -481,10 +481,10 @@ static int accord_notify(void *msg, size_t msg_len)
 
 static void accord_block(void)
 {
-	return add_event(ahandle, EVENT_NOTIFY, &this_node, NULL, 0, 1);
+	add_event(ahandle, EVENT_NOTIFY, &this_node, NULL, 0, 1);
 }
 
-static void acrd_unblock(void *msg, size_t msg_len)
+static void accord_unblock(void *msg, size_t msg_len)
 {
 	struct acrd_event ev;
 
@@ -614,7 +614,7 @@ static int accord_init(const char *option, uint8_t *myaddr)
 	}
 
 	acrd_wq = init_work_queue(1);
-	if (!acrd_wq)
+	if (!acrd_wq) {
 		eprintf("failed to create accord workqueue: %m\n");
 		return -1;
 	}
-- 
1.7.2.5




More information about the sheepdog mailing list