Commit 062a070f authored by Yu Kuai's avatar Yu Kuai
Browse files

block: fix kabi broken in struct hd_part

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



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

A new field is added in struct hd_part, fix kabi broken by using
KABI_FILL_HOLE.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
parent 655a2be8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -69,7 +69,7 @@ struct hd_struct {
	struct device __dev;
	struct device __dev;
	struct kobject *holder_dir;
	struct kobject *holder_dir;
	bool read_only;
	bool read_only;
	bool ro_warned;
	KABI_FILL_HOLE(bool ro_warned)
	int partno;
	int partno;
	struct partition_meta_info *info;
	struct partition_meta_info *info;
#ifdef CONFIG_FAIL_MAKE_REQUEST
#ifdef CONFIG_FAIL_MAKE_REQUEST