diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-02 09:53:37 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-11 11:54:42 -0600 |
commit | 195b1956b85baefc5049883fdcff249a8ff1911c (patch) | |
tree | 67dc73d86d1040f2c13cbbab2c89c54cd5f3040e /drivers/block/rnbd | |
parent | 262d431f90003b1a7d9585ef5465252317eb6bd7 (diff) | |
download | linux-stable-195b1956b85baefc5049883fdcff249a8ff1911c.tar.gz linux-stable-195b1956b85baefc5049883fdcff249a8ff1911c.tar.bz2 linux-stable-195b1956b85baefc5049883fdcff249a8ff1911c.zip |
rbd: use blk_mq_alloc_disk and blk_cleanup_disk
Use blk_mq_alloc_disk and blk_cleanup_disk to simplify the gendisk and
request_queue allocation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210602065345.355274-23-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/rnbd')
0 files changed, 0 insertions, 0 deletions