[sheepdog] [PATCH] corosync: remove struct corosync_block_msg

Liu Yuan namei.unix at gmail.com
Fri May 18 04:25:13 CEST 2012


On 05/17/2012 11:23 PM, Christoph Hellwig wrote:

> This structure was obsoleted by a recent patch and should have been deleted.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> 
> Index: sheepdog/sheep/cluster/corosync.c
> ===================================================================
> --- sheepdog.orig/sheep/cluster/corosync.c	2012-05-17 15:41:54.575912094 +0200
> +++ sheepdog/sheep/cluster/corosync.c	2012-05-17 17:13:39.267859600 +0200
> @@ -80,15 +80,6 @@ struct corosync_message {
>  	uint8_t msg[0];
>  };
>  
> -struct corosync_block_msg {
> -	void *msg;
> -	size_t msg_len;
> -	void (*cb)(void *arg);
> -
> -	struct work work;
> -	struct list_head list;
> -};
> -
>  static int cpg_node_equal(struct cpg_node *a, struct cpg_node *b)
>  {
>  	return (a->nodeid == b->nodeid && a->pid == b->pid);


Applied, thanks.

Yuan



More information about the sheepdog mailing list