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

Liu Yuan namei.unix at gmail.com
Wed Apr 17 08:10:01 CEST 2013


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,
Yuan



More information about the sheepdog mailing list