hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAGRKP CVE: NA
--------------------------------
blk_mq_alloc_data is only used internally and always used as stack variable. Fix kabi broken by extending new filed at tail.
Signed-off-by: Yu Kuai yukuai3@huawei.com --- block/blk-mq.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/block/blk-mq.h b/block/blk-mq.h index c1a664159aad..01009f774f54 100644 --- a/block/blk-mq.h +++ b/block/blk-mq.h @@ -157,7 +157,9 @@ struct blk_mq_alloc_data { struct blk_mq_ctx *ctx; struct blk_mq_hw_ctx *hctx;
+#ifndef __GENKSYMS__ struct bio *bio; +#endif };
static inline struct blk_mq_tags *blk_mq_tags_from_data(struct blk_mq_alloc_data *data)