From 7388fea23fccb98dbed580f41cc0037b7a1d66de Mon Sep 17 00:00:00 2001 From: Baokun Li Date: Thu, 19 Dec 2024 10:37:31 +0800 Subject: [PATCH] statx: kabi: KABI reservation for kstat hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IBC24E ---------------------------------------------------------------------- structure size reserves reserved mainline kstat 160 4 192 184 Signed-off-by: Baokun Li --- include/linux/stat.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/stat.h b/include/linux/stat.h index 52150570d37a..045064370cd8 100644 --- a/include/linux/stat.h +++ b/include/linux/stat.h @@ -18,6 +18,7 @@ #include #include #include +#include struct kstat { u32 result_mask; /* What fields the user got */ @@ -53,6 +54,11 @@ struct kstat { u32 dio_mem_align; u32 dio_offset_align; u64 change_cookie; + + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) }; /* These definitions are internal to the kernel for now. Mainly used by nfsd. */ -- Gitee