Message ID | 20241008184634.245607-7-adhemerval.zanella@linaro.org |
---|---|
State | Accepted |
Commit | fc650bfd71081d26c1015d299827fb58a23a6b02 |
Headers | show |
Series | Updates for Linux 6.11 | expand |
On Wed, Oct 9, 2024 at 2:47 AM Adhemerval Zanella <adhemerval.zanella@linaro.org> wrote: > > 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 > LGTM. Reviewed-by: H.J. Lu <hjl.tools@gmail.com> Thanks.
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