]> 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)
commit6ce257bb77e3e4d98067874a4df570e250d80b30
treeca69e5ec0d2e266ed4d8b6718901fc37cbadae65
parent276dc76d130b506cfd9548247617fa99722cf24e
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: 3cb2625ef15e ("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