]> 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)
commit808ccdfab331415264175de9b6575ffb1b2b3aaf
tree8b55dcd94fb01b0f54f6a2107caf5baf773a4671
parent53162f41c297ce220fafceed6d6eaf415afbfcea
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