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

Liu Yuan namei.unix at gmail.com
Wed Jun 27 04:50:10 CEST 2012


On 06/26/2012 06:24 PM, Christoph Hellwig wrote:
> 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);
> 

Applied.

Thanks,
Yuan




More information about the sheepdog mailing list