diff options
author | Christoph Hellwig <hch@lst.de> | 2021-05-21 07:51:09 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-01 07:42:24 -0600 |
commit | c3e235383645de20796efd2821c60bf6a7ab5f2e (patch) | |
tree | 18b16c3fa1d653fb5254c48896dd3ee4fcc7ee33 /drivers/block/n64cart.c | |
parent | nvme-multipath: convert to blk_alloc_disk/blk_cleanup_disk (diff) | |
download | linux-dev-c3e235383645de20796efd2821c60bf6a7ab5f2e.tar.xz linux-dev-c3e235383645de20796efd2821c60bf6a7ab5f2e.zip |
nfblock: convert to blk_alloc_disk/blk_cleanup_disk
Convert the nfblock 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>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20210521055116.1053587-20-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/n64cart.c')
0 files changed, 0 insertions, 0 deletions