diff mbox series

Update STATX_ATTR_DAX value from Linux 5.10

Message ID alpine.DEB.2.22.394.2101081748150.31293@digraph.polyomino.org.uk
State Committed
Commit 1c426b1d59cc7a5f9133f4799f2640234a3077e3
Headers show
Series Update STATX_ATTR_DAX value from Linux 5.10 | expand

Commit Message

Joseph Myers Jan. 8, 2021, 5:48 p.m. UTC
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

Florian Weimer Jan. 9, 2021, 12:04 p.m. UTC | #1
* 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.
diff mbox series

Patch

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 */
 
 __BEGIN_DECLS