]> www.infradead.org Git - users/hch/block.git/commit
ubd: use blk_mq_alloc_disk and blk_cleanup_disk alloc_disk-part3
authorChristoph Hellwig <hch@lst.de>
Tue, 4 May 2021 16:59:06 +0000 (18:59 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 1 Jun 2021 05:37:52 +0000 (08:37 +0300)
commitb39815fa28577c8b9922ded87eb7e601dc4f70a5
tree0204d8c9fda8d7a466f65e809f8e7062bd1a9afa
parent2904c853c108eace251b0ef11d24667812093cdc
ubd: 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>
arch/um/drivers/ubd_kern.c