Skip to content
Snippets Groups Projects
Commit 63e46f8e authored by Ming Lei's avatar Ming Lei
Browse files

block: use bio_queue_enter instead of blk_queue_enter in bio_poll

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2083917



commit ebd076bf
Author: Christoph Hellwig <hch@lst.de>
Date:   Mon May 23 14:43:02 2022 +0200

    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: 3e08773c ("block: switch polling to be bio based")
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Link: https://lore.kernel.org/r/20220523124302.526186-1-hch@lst.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>

Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
parent 23d4d56c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment