hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8ZSV8
--------------------------------
export_operations is a structure for registering callback methods and has changed since version 5.10.
Reserve two KABI slots for export_operations by referring to the policy of version 5.10.
Signed-off-by: ZhaoLong Wang wangzhaolong1@huawei.com --- include/linux/exportfs.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/linux/exportfs.h b/include/linux/exportfs.h index 11fbd0ee1370..ddc3da097362 100644 --- a/include/linux/exportfs.h +++ b/include/linux/exportfs.h @@ -3,6 +3,7 @@ #define LINUX_EXPORTFS_H 1
#include <linux/types.h> +#include <linux/kabi.h>
struct dentry; struct iattr; @@ -225,6 +226,8 @@ struct export_operations { */ #define EXPORT_OP_FLUSH_ON_CLOSE (0x20) /* fs flushes file data on close */ unsigned long flags; + KABI_RESERVE(1) + KABI_RESERVE(2) };
extern int exportfs_encode_inode_fh(struct inode *inode, struct fid *fid,