Update STATX_ATTR_DAX value from Linux 5.10
Commit Message
This patch updates the value of STATX_ATTR_DAX in bits/statx-generic.h
for a change made in Linux 5.10. (As with previous such changes, this
only does anything if glibc is being used with old kernel headers.)
Tested for x86_64.
Comments
* Joseph Myers:
> This patch updates the value of STATX_ATTR_DAX in bits/statx-generic.h
> for a change made in Linux 5.10. (As with previous such changes, this
> only does anything if glibc is being used with old kernel headers.)
>
> Tested for x86_64.
>
> diff --git a/io/bits/statx-generic.h b/io/bits/statx-generic.h
> index 0b4689cc9a..f8b0f4da36 100644
> --- a/io/bits/statx-generic.h
> +++ b/io/bits/statx-generic.h
> @@ -51,7 +51,7 @@
> # define STATX_ATTR_AUTOMOUNT 0x1000
> # define STATX_ATTR_MOUNT_ROOT 0x2000
> # define STATX_ATTR_VERITY 0x100000
> -# define STATX_ATTR_DAX 0x2000
> +# define STATX_ATTR_DAX 0x200000
> #endif /* !STATX_TYPE */
I suppose this is okay. It matches what the kernel does.
@@ -51,7 +51,7 @@
# define STATX_ATTR_AUTOMOUNT 0x1000
# define STATX_ATTR_MOUNT_ROOT 0x2000
# define STATX_ATTR_VERITY 0x100000
-# define STATX_ATTR_DAX 0x2000
+# define STATX_ATTR_DAX 0x200000
#endif /* !STATX_TYPE */
__BEGIN_DECLS