public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] linux: Add FSCONFIG_CMD_CREATE_EXCL from Linux 6.6 to sys/mount.h
Date: Fri,  3 Nov 2023 13:02:36 +0000 (GMT)	[thread overview]
Message-ID: <20231103130236.E2B323857725@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=10b4c8b96fe0602ab5acb1d92bd5ce451803071b

commit 10b4c8b96fe0602ab5acb1d92bd5ce451803071b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue Oct 31 13:32:36 2023 -0300

    linux: Add FSCONFIG_CMD_CREATE_EXCL from Linux 6.6 to sys/mount.h
    
    The tst-mount-consts.py does not need to be updated because kernel
    exports it as an enum (compare_macro_consts can not parse it).

Diff:
---
 sysdeps/unix/sysv/linux/sys/mount.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h
index a692c0e092..db0ac7a8a4 100644
--- a/sysdeps/unix/sysv/linux/sys/mount.h
+++ b/sysdeps/unix/sysv/linux/sys/mount.h
@@ -256,6 +256,8 @@ enum fsconfig_command
 # define FSCONFIG_CMD_CREATE FSCONFIG_CMD_CREATE
   FSCONFIG_CMD_RECONFIGURE = 7,   /* Invoke superblock reconfiguration */
 # define FSCONFIG_CMD_RECONFIGURE FSCONFIG_CMD_RECONFIGURE
+  FSCONFIG_CMD_CREATE_EXCL = 8,    /* Create new superblock, fail if reusing existing superblock */
+# define FSCONFIG_CMD_CREATE_EXCL FSCONFIG_CMD_CREATE_EXCL
 };
 #endif

                 reply	other threads:[~2023-11-03 13:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231103130236.E2B323857725@sourceware.org \
    --to=azanella@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).