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

block: always assign default lock to queues



Move the assignment of a default lock below blk_init_queue() to
blk_queue_make_request(), so we also get to set the default lock
for ->make_request_fn() based drivers. This is important since the
queue flag locking requires a lock to be in place.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent a85a00a6
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