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:
@@ -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 */
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user