At Wed, 17 Apr 2013 13:08:40 +0800,
Liu Yuan wrote:
> 
> On 04/16/2013 05:04 PM, Hitoshi Mitake wrote:
> > patch implements atomic creation and writing for it.
> 
> BTW, Could you abstract atomic_create_and_write(char *buf, size_t len)
> in util.c?
> 
> I am cooking a patch which will use this too, so after applying your
> patch, I can simply call it.

I agree with writing the function if there are two or more users. But
the abstraction will be a little bit difficult because of its nature:
we have to clean up temporal files during the initialization sequence.
Do you have an idea about this problem?

Or should we clean temporal files in the head of
atomic_create_and_write() simply?

Thanks,
Hitoshi
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to