about summary refs log tree commit diff
path: root/io/bits
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-10-08 15:45:28 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-10-10 10:27:58 -0300
commitfc650bfd71081d26c1015d299827fb58a23a6b02 (patch)
tree01d02736a719c49e564225523786bf2d0826b2a3 /io/bits
parent934d0bf426ffa58f88cebd219b08742ca21e3365 (diff)
downloadglibc-fc650bfd71081d26c1015d299827fb58a23a6b02.tar.gz
glibc-fc650bfd71081d26c1015d299827fb58a23a6b02.tar.xz
glibc-fc650bfd71081d26c1015d299827fb58a23a6b02.zip
linux: Update stat-generic.h with linux 6.11
It adds the new constants from 'fs: Add initial atomic write support
info to statx' (commit 0f9ca80fa4f9670ba09721e4e36b8baf086a500c).

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'io/bits')
-rw-r--r--io/bits/statx-generic.h2
1 files changed, 2 insertions, 0 deletions
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