Commit f3caf66f authored by Wenchao Hao's avatar Wenchao Hao Committed by yangyun
Browse files

kabi:fuse: reserve space for future expansion

euleros inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8PFAL?from=project-issue



-------------------------------------------------

Reserve space for future fuse kabi expansion

Signed-off-by: default avatarWenchao Hao <haowenchao@huawei.com>
Reviewed-by: default avatarWu Bo <wubo40@huawei.com>
Reviewed-by: default avatarZhang Yi <yi.zhang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Signed-off-by: default avataryangyun <yangyun50@huawei.com>
parent 6d225089
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@
#include <linux/pid_namespace.h>
#include <linux/refcount.h>
#include <linux/user_namespace.h>
#include <linux/kabi.h>

/** Default max number of pages that can be used in a single read request */
#define FUSE_DEFAULT_MAX_PAGES_PER_REQ 32
@@ -158,6 +159,8 @@ struct fuse_inode {
	 */
	struct fuse_inode_dax *dax;
#endif

	KABI_RESERVE(1)
};

/** FUSE inode state bits */
@@ -486,6 +489,8 @@ struct fuse_dev {

	/** list entry on fc->devices */
	struct list_head entry;

	KABI_RESERVE(1)
};

enum fuse_dax_mode {
@@ -852,6 +857,11 @@ struct fuse_conn {

	/* New writepages go into this bucket */
	struct fuse_sync_bucket __rcu *curr_bucket;

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

/*