diff options
author | Christoph Hellwig <hch@lst.de> | 2021-05-21 07:51:10 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-01 07:42:24 -0600 |
commit | b1833edc4c95d801b249159be361af6d3c3ea44d (patch) | |
tree | c40af53a6511d1b46f3daa9422ae046f3cca05e3 /drivers/block | |
parent | c3e235383645de20796efd2821c60bf6a7ab5f2e (diff) | |
download | linux-b1833edc4c95d801b249159be361af6d3c3ea44d.tar.gz linux-b1833edc4c95d801b249159be361af6d3c3ea44d.tar.bz2 linux-b1833edc4c95d801b249159be361af6d3c3ea44d.zip |
simdisk: convert to blk_alloc_disk/blk_cleanup_disk
Convert the simdisk 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-21-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions