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

block: add a blk_plug_device_unlocked() that grabs the queue lock



blk_plug_device() must be called with the queue lock held, so callers
often just grab and release the lock for that purpose. Add a helper
that does just that.

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