Skip to content
Commit fb8ec18c authored by Jens Axboe's avatar Jens Axboe
Browse files

block: fix oops in blk_queue_io_stat()



Some initial probe requests don't have disk->queue mapped yet, so we
can't rely on a non-NULL queue in blk_queue_io_stat(). Wrap it in
blk_do_io_stat().

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 45c82b5a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment