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)
commitebd076bf7d5deef488ec7ebc3fdbf781eafae269
treeca69e5ec0d2e266ed4d8b6718901fc37cbadae65
parent98d40e76652e9aeb3aec4065f600d633ed335e94
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: 3e08773c3841 ("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