]> git.baikalelectronics.ru Git - kernel.git/commit
ubd: use blk_mq_alloc_disk and blk_cleanup_disk
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Jun 2021 06:07:59 +0000 (08:07 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 21:34:04 +0000 (15:34 -0600)
commit35efb594c3a8bbd41fca67658b03bf99441d488b
tree8b55dcd94fb01b0f54f6a2107caf5baf773a4671
parent7eb90f7e90a85b635b31bc0ac35846880c7470e7
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>
Link: https://lore.kernel.org/r/20210614060759.3965724-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/um/drivers/ubd_kern.c