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

From: Christoph Hellwig
Date: Thu Sep 10 2009 - 16:45:37 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/