[sheepdog] [PATCH] sheep/farm: fix set_cluster_store

Jens Weber jweber at tek2b.org
Sat Aug 11 15:59:01 CEST 2012


now int set_cluster_store(const char *name, uint8_t gateway_only);

Signed-off-by: Jens Weber <jweber at tek2b.org>
---
 sheep/farm/farm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sheep/farm/farm.c b/sheep/farm/farm.c
index 7eeae9a..040668d 100644
--- a/sheep/farm/farm.c
+++ b/sheep/farm/farm.c
@@ -769,7 +769,7 @@ static int farm_format(struct siocb *iocb)
 		return SD_RES_EIO;
 	}
 
-	if (set_cluster_store(name) < 0)
+	if (set_cluster_store(name, 0) < 0)
 		return SD_RES_EIO;
 
 	trunk_reset();
-- 
1.7.10.4



More information about the sheepdog mailing list