block: remove the queue_lock indirection
With the legacy request path gone there is no good reason to keep queue_lock as a pointer, we can always use the embedded lock now. Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Fixed floppy and blk-cgroup missing conversions and half done edits. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:

committed by
Jens Axboe

parent
6d46964230
commit
0d945c1f96
@@ -446,13 +446,7 @@ struct request_queue {
|
||||
*/
|
||||
gfp_t bounce_gfp;
|
||||
|
||||
/*
|
||||
* protects queue structures from reentrancy. ->__queue_lock should
|
||||
* _never_ be used directly, it is queue private. always use
|
||||
* ->queue_lock.
|
||||
*/
|
||||
spinlock_t __queue_lock;
|
||||
spinlock_t *queue_lock;
|
||||
spinlock_t queue_lock;
|
||||
|
||||
/*
|
||||
* queue kobject
|
||||
|
Reference in New Issue
Block a user