UAPI value collision: STATX_ATTR_MOUNT_ROOT vs STATX_ATTR_DAX

From: David Howells
Date: Wed Nov 25 2020 - 11:51:18 EST


Hi Linus, Miklos, Ira,

It seems that two patches that got merged in the 5.8 merge window collided and
no one noticed until now:

80340fe3605c0 (Miklos Szeredi 2020-05-14 184) #define STATX_ATTR_MOUNT_ROOT 0x00002000 /* Root of a mount */
...
712b2698e4c02 (Ira Weiny 2020-04-30 186) #define STATX_ATTR_DAX 0x00002000 /* [I] File is DAX */

The question is, what do we do about it? Renumber one or both of the
constants?

David