diff mbox series

[3/6] linux: Add FSCONFIG_CMD_CREATE_EXCL from Linux 6.6 to sys/mount.h

Message ID 20231030213245.2626895-4-adhemerval.zanella@linaro.org
State Superseded
Headers show
Series Update from Linux 6.6 | expand

Commit Message

Adhemerval Zanella Oct. 30, 2023, 9: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(+)
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