]> www.infradead.org Git - users/hch/block.git/commit
rbd: use blk_mq_alloc_disk and blk_cleanup_disk
authorChristoph Hellwig <hch@lst.de>
Tue, 4 May 2021 16:05:07 +0000 (18:05 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 31 May 2021 08:17:50 +0000 (11:17 +0300)
commitf97b6afb02b4891acaa5549986760fe25d628eb5
tree4087e319a84a06dbce28239bb3313335c773145a
parent0205b845c0a44ac3929e884b9efe8bddff61ea21
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>
drivers/block/rbd.c