Commit 5eba33fc authored by Yu Kuai's avatar Yu Kuai
Browse files

block: fix kabi broken in struct request_queue

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IAGRKP


CVE: NA

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

The field 'blk_trace_mutex' is moved and renamed.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
parent c268ffdd
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -643,6 +643,14 @@ struct request_queue {
	int			node;
#ifdef CONFIG_BLK_DEV_IO_TRACE
	struct blk_trace __rcu	*blk_trace;
#endif
	/*
	 * Serializes all debugfs metadata operations using the above dentries.
	 */
#ifndef __GENKSYMS__
	struct mutex		debugfs_mutex;
#else
	struct mutex            blk_trace_mutex;
#endif
	/*
	 * for flush operations
@@ -690,10 +698,6 @@ struct request_queue {

	struct dentry		*debugfs_dir;
	struct dentry		*sched_debugfs_dir;
	/*
	 * Serializes all debugfs metadata operations using the above dentries.
	 */
	struct mutex		debugfs_mutex;

	bool			mq_sysfs_init_done;