From: Adhemerval Zanella Date: Tue, 31 Oct 2023 16:32:36 +0000 (-0300) Subject: linux: Add FSCONFIG_CMD_CREATE_EXCL from Linux 6.6 to sys/mount.h X-Git-Tag: glibc-2.39~313 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10b4c8b96fe0602ab5acb1d92bd5ce451803071b;p=thirdparty%2Fglibc.git 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 --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h index a692c0e092c..db0ac7a8a44 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