Update STATX_ATTR_DAX value from Linux 5.10

Joseph Myers joseph@codesourcery.com
Fri Jan 8 17:48:36 GMT 2021


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

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list