Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available

From: David Howells
Date: Fri Nov 18 2016 - 03:48:29 EST


Jeff Layton <jlayton@xxxxxxxxxx> wrote:

> > If neither AT_STATX_*_SYNC flag is set, the behaviour is the default for
> > stat() on that filesystem.
> >
>
> We also need to specify here what happens if both bits are set. Should
> that be -EINVAL?

Makes sense.

This leads to another thought: should fstatat() be allowed to take AT_STATX_*
flags?

David