mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-18 21:02:04 +00:00
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:
parent
6d46964230
commit
0d945c1f96
16 changed files with 92 additions and 106 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue