Add STATX_MNT_ID_UNIQUE from Linux 6.8 to bits/statx-generic.h
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
fail
|
Patch failed to apply
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
fail
|
Patch failed to apply
|
Commit Message
Linux 6.8 adds a new STATX_MNT_ID_UNIQUE constant. Add it to glibc's
bits/statx-generic.h.
Tested for x86_64.
Comments
On Fri, Mar 15, 2024 at 1:59 PM Joseph Myers <josmyers@redhat.com> wrote:
>
> Linux 6.8 adds a new STATX_MNT_ID_UNIQUE constant. Add it to glibc's
> bits/statx-generic.h.
>
> Tested for x86_64.
>
> diff --git a/io/bits/statx-generic.h b/io/bits/statx-generic.h
> index 5859856068..30a24765dc 100644
> --- a/io/bits/statx-generic.h
> +++ b/io/bits/statx-generic.h
> @@ -42,6 +42,7 @@
> # define STATX_BTIME 0x0800U
> # define STATX_MNT_ID 0x1000U
> # define STATX_DIOALIGN 0x2000U
> +# define STATX_MNT_ID_UNIQUE 0x4000U
> # define STATX__RESERVED 0x80000000U
>
> # define STATX_ATTR_COMPRESSED 0x0004
>
> --
> Joseph S. Myers
> josmyers@redhat.com
>
LGTM.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Thanks.
@@ -42,6 +42,7 @@
# define STATX_BTIME 0x0800U
# define STATX_MNT_ID 0x1000U
# define STATX_DIOALIGN 0x2000U
+# define STATX_MNT_ID_UNIQUE 0x4000U
# define STATX__RESERVED 0x80000000U
# define STATX_ATTR_COMPRESSED 0x0004