Re: [PATCH 18/16] implement posix O_SYNC and O_DSYNC semantics

Christoph Hellwig
2009-09-10T20:45:29Z

On Thu, Sep 10, 2009 at 04:43:35PM -0400, Trond Myklebust wrote:
> >
> > Doesn't matter, we check early in the open path that __O_SYNC is only
> > set together with O_SYNC.
>
> Right, but (file->f_flags & O_SYNC) will be non-zero even if only the
> O_DSYNC flag is set.

Thanks, corrected.