
From: Yu Kuai <yukuai3@huawei.com> Offering: HULK 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: Yu Kuai <yukuai3@huawei.com> --- include/linux/genhd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/genhd.h b/include/linux/genhd.h index de4ec8798e64..47ccd88923d1 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h @@ -69,7 +69,7 @@ struct hd_struct { struct device __dev; struct kobject *holder_dir; bool read_only; - bool ro_warned; + KABI_FILL_HOLE(bool ro_warned) int partno; struct partition_meta_info *info; #ifdef CONFIG_FAIL_MAKE_REQUEST -- 2.39.2