diff options
| author | Christoph Hellwig <hch@lst.de> | 2021-05-21 07:51:14 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-06-01 07:42:24 -0600 |
| commit | ef35885400481b46ede9cbdcc1fce902e06002c5 (patch) | |
| tree | 3c5710007ab38c7172981ce34518e5c06ae70b64 /lib/test_overflow.c | |
| parent | 0692ef289f067d1de416cd33c9cf8d7e006293dc (diff) | |
xpram: convert to blk_alloc_disk/blk_cleanup_disk
Convert the xpram 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: Hannes Reinecke <hare@suse.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20210521055116.1053587-25-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions
