
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/ICPOEB CVE: NA ---------------------------------------------------------------------- Fix kabi breakage in struct file_operations. Fixes: 210a03c9d51a ("fs: claw back a few FMODE_* bits") Signed-off-by: Long Li <leo.lilong@huawei.com> --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index 1647ddb5ea16..2ddaf927c8c1 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2016,7 +2016,6 @@ typedef unsigned int __bitwise fop_flags_t; struct file_operations { struct module *owner; - fop_flags_t fop_flags; loff_t (*llseek) (struct file *, loff_t, int); ssize_t (*read) (struct file *, char __user *, size_t, loff_t *); ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *); @@ -2029,6 +2028,7 @@ struct file_operations { long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long); long (*compat_ioctl) (struct file *, unsigned int, unsigned long); int (*mmap) (struct file *, struct vm_area_struct *); + KABI_REPLACE(unsigned long mmap_supported_flags, fop_flags_t fop_flags) int (*open) (struct inode *, struct file *); int (*flush) (struct file *, fl_owner_t id); int (*release) (struct inode *, struct file *); -- 2.39.2