[sheepdog] [PATCH v3 1/3] sheep: rework update node logic

Liu Yuan namei.unix at gmail.com
Wed Jul 10 10:26:28 CEST 2013


On Wed, Jul 10, 2013 at 05:09:34PM +0900, MORITA Kazutaka wrote:
> At Wed, 10 Jul 2013 14:59:33 +0800,
> Liu Yuan wrote:
> > 
> > @@ -343,6 +346,17 @@ static bool __corosync_dispatch_one(struct corosync_event *cevent)
> >  		sd_notify_handler(&cevent->sender.ent, cevent->msg,
> >  						 cevent->msg_len);
> >  		break;
> > +	case COROSYNC_EVENT_TYPE_UPDATE_NODE:
> > +		node = &cevent->sender.ent;
> > +
> > +		if (node_eq(node, &this_node.ent))
> > +		    this_node.ent = *node;
> 
> Use tabs for indentations.
> 

Just a reminder, we can use script/cleanpatch to do this for us without manual
correction.

Thanks
Yuan



More information about the sheepdog mailing list