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

Liu Yuan namei.unix at gmail.com
Wed Jun 13 09:33:48 CEST 2012


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?

Thanks,
Yuan




More information about the sheepdog mailing list