Re: linux-next: build failure after merge of the vfs-brauner tree
From: Stephen Rothwell
Date: Sun Nov 16 2025 - 21:17:22 EST
Hi all,
On Sun, 16 Nov 2025 17:23:15 -0500 Jeff Layton <jlayton@xxxxxxxxxx> wrote:
>
> Thanks Stephen. This patch should fix it.
>
> Christian, you can either fold this into 1602bad16d7d, or I can send it
> separately. Let me know which you prefer.
>
> Thanks,
>
> ----------------8<----------------------
>
> vfs: add needed headers for new struct delegation definition
>
> 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@xxxxxxxxxx>
> ---
> include/uapi/linux/fcntl.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/include/uapi/linux/fcntl.h b/include/uapi/linux/fcntl.h
> index 008fac15e573..5e277fd955aa 100644
> --- a/include/uapi/linux/fcntl.h
> +++ b/include/uapi/linux/fcntl.h
> @@ -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)
I had to restart linux-next today, so I used the patch instead of
the old version of the vfs-brauner tree.
--
Cheers,
Stephen Rothwell
Attachment:
pgpu2qBDjydxT.pgp
Description: OpenPGP digital signature