Re: [PATCH 2/3] uapi: get rid of STATX_ALL

From: Andreas Dilger
Date: Thu Oct 18 2018 - 21:45:55 EST

> On Oct 18, 2018, at 7:15 AM, Florian Weimer <fw@xxxxxxxxxxxxx> wrote:
> * Miklos Szeredi:
>> #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansion */
> What about this? Isn't it similar to STATX_ALL in the sense that we
> don't know yet what it will mean?

No, this means that this last bit will be used for increasing the size of the
stx_mask field at some point in the future. IMHO, this is present as a reminder
to any developer who is adding fields in the future not to use the last flag.

Cheers, Andreas

Attachment: signature.asc
Description: Message signed with OpenPGP