提交 c309468e 编写于 作者: Z Zhihao Cheng 提交者: Yongqiang Liu

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: NZhihao Cheng <chengzhihao1@huawei.com>
Reviewed-by: NZhang Yi <yi.zhang@huawei.com>
Reviewed-by: NJialin Zhang <zhangjialin11@huawei.com>
Signed-off-by: NYongqiang Liu <liuyongqiang13@huawei.com>
上级 e01a5e43
...@@ -1843,7 +1843,6 @@ struct inode_operations { ...@@ -1843,7 +1843,6 @@ struct inode_operations {
const char * (*get_link) (struct dentry *, struct inode *, struct delayed_call *); const char * (*get_link) (struct dentry *, struct inode *, struct delayed_call *);
int (*permission) (struct inode *, int); int (*permission) (struct inode *, int);
struct posix_acl * (*get_acl)(struct inode *, int); struct posix_acl * (*get_acl)(struct inode *, int);
struct posix_acl * (*get_acl2)(struct inode *, int, bool);
int (*readlink) (struct dentry *, char __user *,int); int (*readlink) (struct dentry *, char __user *,int);
...@@ -1868,7 +1867,11 @@ struct inode_operations { ...@@ -1868,7 +1867,11 @@ struct inode_operations {
int (*tmpfile) (struct inode *, struct dentry *, umode_t); int (*tmpfile) (struct inode *, struct dentry *, umode_t);
int (*set_acl)(struct inode *, struct posix_acl *, int); int (*set_acl)(struct inode *, struct posix_acl *, int);
#ifndef __GENKSYMS__
struct posix_acl * (*get_acl2)(struct inode *, int, bool);
#else
KABI_RESERVE(1) KABI_RESERVE(1)
#endif
KABI_RESERVE(2) KABI_RESERVE(2)
KABI_RESERVE(3) KABI_RESERVE(3)
KABI_RESERVE(4) KABI_RESERVE(4)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册