Currently the statfs UAPI definitions are only available from the asm/ namespace, which is not meant to be used directly by applications. Add a public UAPI header and adapt the internal linux/statfs.h to it. Signed-off-by: Thomas Weißschuh --- include/linux/statfs.h | 3 ++- include/uapi/linux/statfs.h | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/include/linux/statfs.h b/include/linux/statfs.h index 02c862686ea3..ee858f85299e 100644 --- a/include/linux/statfs.h +++ b/include/linux/statfs.h @@ -2,8 +2,9 @@ #ifndef _LINUX_STATFS_H #define _LINUX_STATFS_H +#include + #include -#include #include struct kstatfs { diff --git a/include/uapi/linux/statfs.h b/include/uapi/linux/statfs.h new file mode 100644 index 000000000000..7ebf2eae7dab --- /dev/null +++ b/include/uapi/linux/statfs.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_LINUX_STATFS_H +#define _UAPI_LINUX_STATFS_H + +#include + +#endif /* _UAPI_LINUX_STATFS_H */ --- base-commit: dbf00d8d23b43a7a1d717e704c50651731d01d71 change-id: 20260401-uapi-statfs-94417524d5d4 Best regards, -- Thomas Weißschuh