diff options
author | Christoph Hellwig <hch@lst.de> | 2021-05-21 07:51:00 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-01 07:42:23 -0600 |
commit | 7681750bd35fe92dd915f4df177d45265e78a933 (patch) | |
tree | 95b8ca95504e8be2d66f7c27572da32f89221292 /drivers/lightnvm | |
parent | 0be7966e7e6e8c57c3f63b16ddeed73e68313a89 (diff) |
zram: convert to blk_alloc_disk/blk_cleanup_disk
Convert the zram driver to use the blk_alloc_disk and blk_cleanup_disk
helpers to simplify gendisk and request_queue allocation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20210521055116.1053587-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions