diff options
author | Christoph Hellwig <hch@lst.de> | 2021-05-21 07:51:15 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-01 07:42:24 -0600 |
commit | 132226b301b545198515fb8c6b7f537c13b71f4d (patch) | |
tree | eec8fad05b0fbfce3c62394964e557b09f56afb3 /block/blk.h | |
parent | ef35885400481b46ede9cbdcc1fce902e06002c5 (diff) | |
download | lwn-132226b301b545198515fb8c6b7f537c13b71f4d.tar.gz lwn-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 'block/blk.h')
0 files changed, 0 insertions, 0 deletions