commit | 6759b1a2013ba6f65e97f0b9444fa1cf69654f7c | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jun 02 09:53:35 2021 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 11 11:54:39 2021 -0600 |
tree | eaf77dc085ac78f96d7ae49c442df35539cd7f28 | |
parent | 4af5f2e0301311f88c420fcfc5f3c8611ade20ac [diff] |
nullb: use blk_mq_alloc_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-21-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>