Commit 2eb22263 authored by Yu Kuai's avatar Yu Kuai Committed by Jialin Zhang
Browse files

md: fix kabi broken in struct mddev

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6OMCC


CVE: NA

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

Struct mddev is just used inside raid, just in case that md_mod is compiled
from new kernel, and raid1/raid10 or other out-of-tree raid are compiled
from old kernel.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Reviewed-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parent 73f974e1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -530,9 +530,9 @@ struct mddev {
	bool	serialize_policy:1;

	/* Used to synchronize idle and frozen for action_store() */
	struct mutex sync_mutex;
	KABI_EXTEND(struct mutex sync_mutex)
	/* The sequence number for sync thread */
	atomic_t sync_seq;
	KABI_EXTEND(atomic_t sync_seq)
};

enum recovery_flags {