diff mbox series

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

Message ID 20241008132440.722309-6-adhemerval.zanella@linaro.org
State Superseded
Headers show
Series Updates for Linux 6.11 | expand

Commit Message

Adhemerval Zanella Oct. 8, 2024, 1:23 p.m. UTC
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(+)

Comments

Joseph Myers Oct. 8, 2024, 5:06 p.m. UTC | #1
On Tue, 8 Oct 2024, Adhemerval Zanella wrote:

> It adds the new constants from 'fs: Add initial atomic write support
> info to statx' (commit 0f9ca80fa4f9670ba09721e4e36b8baf086a500c).

OK.
diff mbox series

Patch

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