diff options
| author | 2021-05-21 07:51:15 +0200 | |
|---|---|---|
| committer | 2021-06-01 07:42:24 -0600 | |
| commit | 132226b301b545198515fb8c6b7f537c13b71f4d (patch) | |
| tree | eec8fad05b0fbfce3c62394964e557b09f56afb3 /include/linux/blkdev.h | |
| parent | xpram: convert to blk_alloc_disk/blk_cleanup_disk (diff) | |
| download | linux-dev-132226b301b545198515fb8c6b7f537c13b71f4d.tar.xz linux-dev-132226b301b545198515fb8c6b7f537c13b71f4d.zip | |
null_blk: convert to blk_alloc_disk/blk_cleanup_disk
Convert the null_blk driver to use the blk_alloc_disk and blk_cleanup_disk
helpers to simplify gendisk and request_queue allocation. Note that the
blk-mq mode is left with its own allocations scheme, to be handled later.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20210521055116.1053587-26-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions
