diff mbox series

[v2,4/7] linux: Add FSCONFIG_CMD_CREATE_EXCL from Linux 6.6 to sys/mount.h

Message ID 20231031163239.4020952-5-adhemerval.zanella@linaro.org
State Accepted
Commit 10b4c8b96fe0602ab5acb1d92bd5ce451803071b
Headers show
Series Updates from Linux 6.6 | expand

Commit Message

Adhemerval Zanella Oct. 31, 2023, 4:32 p.m. UTC
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).
---
 sysdeps/unix/sysv/linux/sys/mount.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Joseph Myers Nov. 2, 2023, 9:08 p.m. UTC | #1
On Tue, 31 Oct 2023, Adhemerval Zanella wrote:

> 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).

OK.
diff mbox series

Patch

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