summaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-08-16 15:19:09 +0200
committerJens Axboe <axboe@kernel.dk>2021-08-23 12:54:31 -0600
commit61a35cfc26334fe1c8e970ca8fafeae2daae257d (patch)
tree73d024e0f1f89f96495780aaea0c2305b5f3412b /block/blk-settings.c
parent4a1fa41d304c7129328d4d5c7f31715b95e23b29 (diff)
downloadlinux-stable-61a35cfc26334fe1c8e970ca8fafeae2daae257d.tar.gz
linux-stable-61a35cfc26334fe1c8e970ca8fafeae2daae257d.tar.bz2
linux-stable-61a35cfc26334fe1c8e970ca8fafeae2daae257d.zip
block: hold a request_queue reference for the lifetime of struct gendisk
Acquire the queue ref dropped in disk_release in __blk_alloc_disk so any allocate gendisk always has a queue reference. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210816131910.615153-9-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions