[sheepdog] [PATCH 7/9] farm: pass a node list to snap_file_write

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


On Wed, Jun 13, 2012 at 03:33:48PM +0800, Liu Yuan wrote:
> On 06/12/2012 11:09 PM, Christoph Hellwig wrote:
> > -extern int snap_file_write(uint32_t epoch, unsigned char *trunksha1, unsigned char *outsha1, int user);
> > +extern int snap_file_write(int epoch, struct sd_node *nodes, int nr_nodes,
> > +		unsigned char *trunksha1, unsigned char *outsha1);
> 
> 
> Why change 'epoch' type from uint32_t to int?

No good reason, I'll fix it up.




More information about the sheepdog mailing list