]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
vfs: add needed headers for new struct delegation definition
authorJeff Layton <jlayton@kernel.org>
Fri, 28 Nov 2025 09:55:09 +0000 (10:55 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 28 Nov 2025 09:55:34 +0000 (10:55 +0100)
The definition of struct delegation uses stdint.h integer types. Add the
necessary headers to ensure that always works.

Fixes: 1602bad16d7d ("vfs: expose delegation support to userland")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
include/uapi/linux/fcntl.h

index 008fac15e573084a9b48e4e991528b4363c54047..5e277fd955aae50fa59e93f23d462415ac0ca171 100644 (file)
@@ -4,6 +4,11 @@
 
 #include <asm/fcntl.h>
 #include <linux/openat2.h>
+#ifdef __KERNEL__
+#include <linux/types.h>
+#else
+#include <stdint.h>
+#endif
 
 #define F_SETLEASE     (F_LINUX_SPECIFIC_BASE + 0)
 #define F_GETLEASE     (F_LINUX_SPECIFIC_BASE + 1)