block: add a blk_plug_device_unlocked() that grabs the queue lock
authorJens Axboe <jens.axboe@oracle.com>
Fri, 1 Aug 2008 18:31:32 +0000 (20:31 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 1 Aug 2008 18:31:32 +0000 (20:31 +0200)
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: Jens Axboe <jens.axboe@oracle.com>

No differences found