[sheepdog] [PATCH 1/2] sheep: pass a node list to update_epoch_log

Christoph Hellwig hch at infradead.org
Thu May 17 10:38:51 CEST 2012


On Thu, May 17, 2012 at 04:34:42PM +0800, Liu Yuan wrote:
> On 05/17/2012 04:14 PM, Christoph Hellwig wrote:
> 
> > Assuming some arguments come from sys while the epoch is passed is a bad
> > convention.  In addition the next patch will add a caller that doesn't
> > take the nodes array from sys.
> 
> 
> Seems that all the caller of update_epoch_log() pass sys->xxx, so how
> about refactor it as update_epoch_log(void) ?

This will change in the next patch.



More information about the sheepdog mailing list