diff options
| author | 2021-06-02 09:53:35 +0300 | |
|---|---|---|
| committer | 2021-06-11 11:54:39 -0600 | |
| commit | 6759b1a2013ba6f65e97f0b9444fa1cf69654f7c (patch) | |
| tree | eaf77dc085ac78f96d7ae49c442df35539cd7f28 /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | nbd: use blk_mq_alloc_disk and blk_cleanup_disk (diff) | |
| download | linux-dev-6759b1a2013ba6f65e97f0b9444fa1cf69654f7c.tar.xz linux-dev-6759b1a2013ba6f65e97f0b9444fa1cf69654f7c.zip | |
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>
Diffstat (limited to 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
