Unverified Commit bcb0fdc5 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!4532 v2 fscache: reserve kabi for fscache structures

parents d3bc8856 a9d69eb5
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -43,6 +43,11 @@ struct fscache_cache {
	unsigned int		debug_id;
	enum fscache_cache_state state;
	char			*name;

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

/*
@@ -77,6 +82,11 @@ struct fscache_cache_ops {

	/* Prepare to write to a live cache object */
	void (*prepare_to_write)(struct fscache_cookie *cookie);

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

extern struct workqueue_struct *fscache_wq;
+11 −0
Original line number Diff line number Diff line
@@ -89,6 +89,12 @@ struct fscache_volume {
#define FSCACHE_VOLUME_ACQUIRE_PENDING	3	/* Volume is waiting to complete acquisition */
#define FSCACHE_VOLUME_CREATING		4	/* Volume is being created on disk */
	u8				coherency_len;	/* Length of the coherency data */

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)

	u8				coherency[];	/* Coherency data */
};

@@ -145,6 +151,11 @@ struct fscache_cookie {
		void			*aux;		/* Auxiliary data */
		u8			inline_aux[8];	/* - If the aux data is short enough */
	};

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

/*