diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-02 09:53:24 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-11 20:53:02 +0300 |
commit | 6966bb921def0a4ef1e069f806c086efae6782ea (patch) | |
tree | 0d3c9360c980a432b54b2adec15ccf88485afd49 /drivers/block | |
parent | 51ed5bd55eb602fd8b3531bb919bcb59849fa569 (diff) | |
download | linux-6966bb921def0a4ef1e069f806c086efae6782ea.tar.xz |
mtd_blkdevs: use blk_mq_alloc_disk
Use the blk_mq_alloc_disk API 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-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions