mirror of git://sourceware.org/git/glibc.git
linux: Add STATX_SUBVOL definition to generic statx
The commit bbb6a742c8 added
STATX_SUBVOL on the statx-generic.h without updating the
generic statx struct.
This commit is contained in:
parent
2ae6152144
commit
4540cc2237
|
|
@ -52,7 +52,8 @@ struct statx
|
|||
__uint64_t stx_mnt_id;
|
||||
__uint32_t stx_dio_mem_align;
|
||||
__uint32_t stx_dio_offset_align;
|
||||
__uint64_t __statx_pad2[12];
|
||||
__uint64_t stx_subvol;
|
||||
__uint64_t __statx_pad2[11];
|
||||
};
|
||||
|
||||
#endif /* __statx_defined */
|
||||
|
|
|
|||
|
|
@ -37,7 +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) == 160, "statx pad2");
|
||||
_Static_assert (offsetof (struct statx, __statx_pad2) == 168, "statx pad2");
|
||||
|
||||
#include "statx_generic.c"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue