[sheepdog] [PATCH] sheep: remove the force flag from SD_OP_GET_NODE_LIST

Christoph Hellwig hch at infradead.org
Thu May 31 18:11:58 CEST 2012


Getting the node list when a sheep isn't fully up can trigger an assert in
get_vnode_info.  Given that there is very little use in getting the node
list from a cluster that isn't operational yet simply remove the force flag.

Signed-off-by: Christoph Hellwig <hch at lst.de>

diff --git a/sheep/ops.c b/sheep/ops.c
index 84ebcc8..94a20cc 100644
--- a/sheep/ops.c
+++ b/sheep/ops.c
@@ -824,7 +824,6 @@ static struct sd_op_template sd_ops[] = {
 
 	[SD_OP_GET_NODE_LIST] = {
 		.type = SD_OP_TYPE_LOCAL,
-		.force = 1,
 		.process_main = local_get_node_list,
 	},
 



More information about the sheepdog mailing list