]> www.infradead.org Git - users/hch/block.git/commit
ubi: use blk_mq_alloc_disk and blk_cleanup_disk
authorChristoph Hellwig <hch@lst.de>
Tue, 4 May 2021 16:22:52 +0000 (18:22 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 2 Jun 2021 05:49:26 +0000 (08:49 +0300)
commit80c48fd5f6e48d32c367592db4c9938fa3d0cc4b
tree655185448dea807e57616fbb7f24232ba966e2ab
parentd57e596116defccbaee330148b8663e5812ad0e4
ubi: 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/mtd/ubi/block.c