diff --git a/block/blk-mq.c b/block/blk-mq.c index d28d1dc977a408345d2b5b0f9a266848f1d624d9..1ddd638915faff493b6cd0c7650069c549fb23b7 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -2752,7 +2752,7 @@ static int blk_mq_alloc_rq_maps(struct blk_mq_tag_set *set) static int blk_mq_update_queue_map(struct blk_mq_tag_set *set) { - if (set->ops->map_queues) { + if (set->ops->map_queues && !is_kdump_kernel()) { /* * transport .map_queues is usually done in the following * way: