1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-08 02:02:23 +03:00

linux: Add STATX_MNT_ID_UNIQUE definition to generic statx

The commit 88a2cf6c4b added
STATX_MNT_ID_UNIQUE on the statx-generic.h without updating the
generic statx struct.
This commit is contained in:
Adhemerval Zanella
2025-10-03 16:38:56 -03:00
parent 03d9cb23b8
commit 0d0726e4eb
2 changed files with 4 additions and 2 deletions

View File

@@ -49,7 +49,9 @@ struct statx
__uint32_t stx_rdev_minor;
__uint32_t stx_dev_major;
__uint32_t stx_dev_minor;
__uint64_t __statx_pad2[14];
__uint64_t stx_mnt_id;
__uint64_t __spare2;
__uint64_t __statx_pad2[12];
};
#endif /* __statx_defined */

View File

@@ -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) == 144, "statx pad2");
_Static_assert (offsetof (struct statx, __statx_pad2) == 160, "statx pad2");
#include "statx_generic.c"