block: initialize current->bio_list[1] in __submit_bio_noacct_mq
authorChristoph Hellwig <hch@lst.de>
Thu, 2 Jul 2020 19:21:25 +0000 (21:21 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 2 Jul 2020 19:34:30 +0000 (13:34 -0600)
commit7c792f33c1b3e231cfd50fea589194c593a6ce3c
tree3f4133563ba245a682afca52250d887456d52357
parent4e2f62e566b5bddec00682f36a404e05a3b64b6a
block: initialize current->bio_list[1] in __submit_bio_noacct_mq

bio_alloc_bioset references current->bio_list[1], so we need to
initialize it for the blk-mq submission path as well.

Fixes: ff93ea0ce763 ("block: shortcut __submit_bio_noacct for blk-mq drivers")
Reported-by: Qian Cai <cai@lca.pw>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c