diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-15 14:17:28 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-15 14:17:28 -0500 |
commit | 0d945c1f966b2bcb67bb12be749da0a7fb00201b (patch) | |
tree | 05a4bf8f0d43cf95878316a0d1e93f018c0bbec9 /include/linux/blkdev.h | |
parent | 6d46964230d182c4b6097379738849a809d791dc (diff) |
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>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index c4a3a660e3f0..1d185f1fc333 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -446,13 +446,7 @@ struct request_queue { | |||
446 | */ | 446 | */ |
447 | gfp_t bounce_gfp; | 447 | gfp_t bounce_gfp; |
448 | 448 | ||
449 | /* | 449 | spinlock_t queue_lock; |
450 | * protects queue structures from reentrancy. ->__queue_lock should | ||
451 | * _never_ be used directly, it is queue private. always use | ||
452 | * ->queue_lock. | ||
453 | */ | ||
454 | spinlock_t __queue_lock; | ||
455 | spinlock_t *queue_lock; | ||
456 | 450 | ||
457 | /* | 451 | /* |
458 | * queue kobject | 452 | * queue kobject |