[sheepdog] [PATCH 2/3] util:add a new API atomic_create_and_write()

Hitoshi Mitake mitake.hitoshi at gmail.com
Wed Apr 17 08:21:16 CEST 2013


At Wed, 17 Apr 2013 14:10:01 +0800,
Liu Yuan wrote:
> 
> On 04/17/2013 01:45 PM, Hitoshi Mitake wrote:
> > +	fd = open(tmp_path, O_WRONLY | O_CREAT | O_SYNC,
> > +		S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
> 
> use def_fmode.

Thanks for your pointing. I'll fix it in v2.
Hitoshi



More information about the sheepdog mailing list