mirror of git://sourceware.org/git/glibc.git
linux: Add STATX_WRITE_ATOMIC/STATX_ATTR_WRITE_ATOMIC definitions to generic statx
The commit fc650bfd71 added
STATX_WRITE_ATOMIC/STATX_ATTR_WRITE_ATOMIC on the statx-generic.h
without updating the generic statx struct.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
4540cc2237
commit
5a2ace34fc
|
|
@ -53,7 +53,11 @@ struct statx
|
|||
__uint32_t stx_dio_mem_align;
|
||||
__uint32_t stx_dio_offset_align;
|
||||
__uint64_t stx_subvol;
|
||||
__uint64_t __statx_pad2[11];
|
||||
__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];
|
||||
};
|
||||
|
||||
#endif /* __statx_defined */
|
||||
|
|
|
|||
|
|
@ -37,7 +37,8 @@ _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) == 168, "statx pad2");
|
||||
_Static_assert (offsetof (struct statx, __statx_pad2) == 0xb4, "statx pad2");
|
||||
_Static_assert (offsetof (struct statx, __statx_pad3) == 0xb8, "statx pad3");
|
||||
|
||||
#include "statx_generic.c"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue