From: Zhihao Cheng chengzhihao1@huawei.com
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 chengzhihao1@huawei.com Reviewed-by: Zhang Yi yi.zhang@huawei.com Signed-off-by: Jialin Zhang zhangjialin11@huawei.com --- 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)