[sheepdog] [PATCH] sheep: remove unused nodes/nr_nodes fields in struct cluster_info

Christoph Hellwig hch at infradead.org
Tue Jun 26 12:24:23 CEST 2012


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

---
 sheep/sheep_priv.h |    3 ---
 1 file changed, 3 deletions(-)

Index: sheepdog/sheep/sheep_priv.h
===================================================================
--- sheepdog.orig/sheep/sheep_priv.h	2012-06-26 12:07:10.146648692 +0200
+++ sheepdog/sheep/sheep_priv.h	2012-06-26 12:07:59.263315106 +0200
@@ -108,9 +108,6 @@ struct cluster_info {
 	 */
 	struct list_head delayed_nodes;
 
-	struct sd_node nodes[SD_MAX_NODES];
-	int nr_nodes;
-
 	struct list_head pending_list;
 
 	DECLARE_BITMAP(vdi_inuse, SD_NR_VDIS);



More information about the sheepdog mailing list