]> git.baikalelectronics.ru Git - kernel.git/commit
block: use bio_queue_enter instead of blk_queue_enter in bio_poll
authorChristoph Hellwig <hch@lst.de>
Mon, 23 May 2022 12:43:02 +0000 (14:43 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 28 May 2022 12:14:35 +0000 (06:14 -0600)
commit2893801db894542e58b47ab09045ff8345cf57b0
treeca69e5ec0d2e266ed4d8b6718901fc37cbadae65
parent48982a0ae9afa60b3f8a6f4fcc51bb9f774cec6b
block: use bio_queue_enter instead of blk_queue_enter in bio_poll

We want to have a valid live gendisk to call ->poll and not just a
request_queue, so call the right helper.

Fixes: bdfaab30ba9a ("block: switch polling to be bio based")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220523124302.526186-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c