[sheepdog] [PATCH 4/9] sheep: refactor get_cluster_status

Christoph Hellwig hch at infradead.org
Wed Jun 13 13:29:34 CEST 2012


On Wed, Jun 13, 2012 at 03:14:49PM +0800, Liu Yuan wrote:
> On 06/12/2012 11:09 PM, Christoph Hellwig wrote:
> > +static int get_cluster_status(struct sd_node *joined, struct sd_node *entries,
> > +		int nr_entries, uint64_t ctime, uint32_t epoch,
> > +		uint32_t *status, uint8_t *inc_epoch)
> 
> This function can be refined as get_cluster_status(joined_node,
> join_message).

One of the callers currently does use a fairly different set of
arguments.



More information about the sheepdog mailing list