From 10b4c8b96fe0602ab5acb1d92bd5ce451803071b Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 31 Oct 2023 13:32:36 -0300 Subject: 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). --- sysdeps/unix/sysv/linux/sys/mount.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps') 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 -- cgit v1.2.3