]> git.baikalelectronics.ru Git - kernel.git/commit
aoe: use blk_mq_alloc_disk and blk_cleanup_disk
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Jun 2021 06:53:31 +0000 (09:53 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 Jun 2021 17:53:03 +0000 (11:53 -0600)
commitd51a146ee5422796d80785c47a4ce0d3849d63d6
treed62ba5f09243b65a339789191d46d2180bc5190a
parentee028c288e4e66878211e5e14b17c2aef96326a6
aoe: 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>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210602065345.355274-17-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoeblk.c
drivers/block/aoe/aoedev.c