mirror of git://sourceware.org/git/glibc.git
linux: Update statx-generic.h with linux 6.14
It adds the new constant STATX_DIO_READ_ALIGN and related fields in generic statx struct from Linux commit 7ed6cbe0f8caa6ee38a2dc8f1b925acb904cc01f. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
5a2ace34fc
commit
cf73362a7e
|
|
@ -45,6 +45,7 @@
|
|||
# define STATX_MNT_ID_UNIQUE 0x4000U
|
||||
# define STATX_SUBVOL 0x8000U
|
||||
# define STATX_WRITE_ATOMIC 0x00010000U
|
||||
# define STATX_DIO_READ_ALIGN 0x00020000U
|
||||
# define STATX__RESERVED 0x80000000U
|
||||
|
||||
# define STATX_ATTR_COMPRESSED 0x0004
|
||||
|
|
|
|||
|
|
@ -56,8 +56,8 @@ struct statx
|
|||
__uint32_t stx_atomic_write_unit_min;
|
||||
__uint32_t stx_atomic_write_unit_max;
|
||||
__uint32_t stx_atomic_write_segments_max;
|
||||
__uint32_t __statx_pad2;
|
||||
__uint64_t __statx_pad3[9];
|
||||
__uint32_t stx_dio_read_offset_align;
|
||||
__uint64_t __statx_pad2[9];
|
||||
};
|
||||
|
||||
#endif /* __statx_defined */
|
||||
|
|
|
|||
|
|
@ -37,8 +37,7 @@ _Static_assert (offsetof (struct statx, stx_nlink) == 16, "statx nlink");
|
|||
_Static_assert (offsetof (struct statx, stx_ino) == 32, "statx ino");
|
||||
_Static_assert (offsetof (struct statx, stx_atime) == 64, "statx atime");
|
||||
_Static_assert (offsetof (struct statx, stx_rdev_major) == 128, "statx rdev");
|
||||
_Static_assert (offsetof (struct statx, __statx_pad2) == 0xb4, "statx pad2");
|
||||
_Static_assert (offsetof (struct statx, __statx_pad3) == 0xb8, "statx pad3");
|
||||
_Static_assert (offsetof (struct statx, __statx_pad2) == 0xb8, "statx pad2");
|
||||
|
||||
#include "statx_generic.c"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue