[sheepdog] [PATCH v4 2/2] sheep: implement atomic create and write mechanism for config

Liu Yuan namei.unix at gmail.com
Wed Apr 17 07:12:26 CEST 2013


On 04/17/2013 01:08 PM, Liu Yuan wrote:
> BTW, Could you abstract atomic_create_and_write(char *buf, size_t len)
> in util.c?

the prototype should be:

int atomic_create_and_write(char *path, char *buf, size_t len);

Thanks,
Yuan



More information about the sheepdog mailing list