[PATCH 5/6] linux: Update stat-generic.h with linux 6.11

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Oct 8 13:23:45 GMT 2024


It adds the new constants from 'fs: Add initial atomic write support
info to statx' (commit 0f9ca80fa4f9670ba09721e4e36b8baf086a500c).
---
 io/bits/statx-generic.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/io/bits/statx-generic.h b/io/bits/statx-generic.h
index 19c3565edc..da199ddaa1 100644
--- a/io/bits/statx-generic.h
+++ b/io/bits/statx-generic.h
@@ -44,6 +44,7 @@
 # define STATX_DIOALIGN 0x2000U
 # define STATX_MNT_ID_UNIQUE 0x4000U
 # define STATX_SUBVOL 0x8000U
+# define STATX_WRITE_ATOMIC 0x00010000U
 # define STATX__RESERVED 0x80000000U
 
 # define STATX_ATTR_COMPRESSED 0x0004
@@ -55,6 +56,7 @@
 # define STATX_ATTR_MOUNT_ROOT 0x2000
 # define STATX_ATTR_VERITY 0x100000
 # define STATX_ATTR_DAX 0x200000
+# define STATX_ATTR_WRITE_ATOMIC 0x00400000
 #endif /* !STATX_TYPE */
 
 __BEGIN_DECLS
-- 
2.43.0



More information about the Libc-alpha mailing list