From b0ae4965ad4a4f5c467885c60a334c9e26015dcc Mon Sep 17 00:00:00 2001 From: Zhihao Cheng Date: Tue, 16 May 2023 20:03:06 +0800 Subject: [PATCH] fix kabi broken due to import new inode operation get_inode_acl hulk inclusion category: perf bugzilla: https://gitee.com/openeuler/kernel/issues/I6ZCW0 CVE: NA -------------------------------- Fix kabi broken for importing new inode operation get_inode_acl. Signed-off-by: Zhihao Cheng Reviewed-by: Zhang Yi Signed-off-by: Jialin Zhang --- include/linux/fs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index 065d1e672126..1e789a30c4c0 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1938,9 +1938,8 @@ struct inode_operations { umode_t create_mode); int (*tmpfile) (struct inode *, struct dentry *, umode_t); int (*set_acl)(struct inode *, struct posix_acl *, int); - struct posix_acl * (*get_acl2)(struct inode *, int, bool); - KABI_RESERVE(1) + KABI_USE(1, struct posix_acl * (*get_acl2)(struct inode *, int, bool)) KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4) -- GitLab