public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Add STATX_MNT_ID_UNIQUE from Linux 6.8 to bits/statx-generic.h
@ 2024-03-15 20:58 Joseph Myers
  2024-03-15 22:16 ` H.J. Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2024-03-15 20:58 UTC (permalink / raw)
  To: libc-alpha

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Add STATX_MNT_ID_UNIQUE from Linux 6.8 to bits/statx-generic.h
  2024-03-15 20:58 Add STATX_MNT_ID_UNIQUE from Linux 6.8 to bits/statx-generic.h Joseph Myers
@ 2024-03-15 22:16 ` H.J. Lu
  0 siblings, 0 replies; 2+ messages in thread
From: H.J. Lu @ 2024-03-15 22:16 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha

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.

-- 
H.J.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-15 22:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-15 20:58 Add STATX_MNT_ID_UNIQUE from Linux 6.8 to bits/statx-generic.h Joseph Myers
2024-03-15 22:16 ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).