[sheepdog] [PATCH] sheep: remove stay vnodes/nr_vnodes fields in struct cluster_info

Liu Yuan namei.unix at gmail.com
Tue May 29 10:52:07 CEST 2012


On 05/29/2012 04:18 PM, Christoph Hellwig wrote:

> Signed-off-by: Christoph Hellwig <hch at lst.de>
> 
> diff --git a/sheep/sheep_priv.h b/sheep/sheep_priv.h
> index dba9541..a93055a 100644
> --- a/sheep/sheep_priv.h
> +++ b/sheep/sheep_priv.h
> @@ -113,10 +113,6 @@ struct cluster_info {
>  	 */
>  	struct list_head leave_list;
>  
> -	/* this array contains a list of ordered virtual nodes */
> -	struct sd_vnode vnodes[SD_MAX_VNODES];
> -	int nr_vnodes;
> -
>  	struct list_head pending_list;
>  
>  	DECLARE_BITMAP(vdi_inuse, SD_NR_VDIS);


Applied, thanks.

Yuan



More information about the sheepdog mailing list