On Tue, 2022-04-19 at 14:22 +0100, David Howells wrote: > Jeff Layton <jlayton@xxxxxxxxxx> wrote: > > > if ((flags & AT_STATX_SYNC_TYPE) == (AT_STATX_DONT_SYNC|AT_STATX_FORCE_SYNC)) > > You can't do that. DONT_SYNC and FORCE_SYNC aren't bit flags - they're an > enumeration in a bit field. There's a reserved value at 0x6000 that doesn't > have a symbol assigned. > Right, but nothing prevents you from setting both flags at the same time. How should we interpret such a request? -- Jeff Layton <jlayton@xxxxxxxxxx>