diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-02 09:53:45 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-11 11:54:43 -0600 |
commit | ec06c989bb45acc28c7633703685dd684b1b5d9c (patch) | |
tree | cb033276aef33656c7602c94fedefc5e017f4be5 /drivers/mtd | |
parent | ataflop: use blk_mq_alloc_disk and blk_cleanup_disk (diff) | |
download | linux-dev-ec06c989bb45acc28c7633703685dd684b1b5d9c.tar.xz linux-dev-ec06c989bb45acc28c7633703685dd684b1b5d9c.zip |
z2ram: 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-31-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions