]> sourceware.org Git - glibc.git/commitdiff
linux: Add FSCONFIG_CMD_CREATE_EXCL from Linux 6.6 to sys/mount.h
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 31 Oct 2023 16:32:36 +0000 (13:32 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 3 Nov 2023 13:01:46 +0000 (10:01 -0300)
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

index a692c0e092c33789adf26e19aad91033d945ea74..db0ac7a8a44eb053b491ac49fde66c8f976033b2 100644 (file)
@@ -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
 
This page took 0.04243 seconds and 5 git commands to generate.