diff options
author | Christoph Hellwig <hch@lst.de> | 2020-10-29 15:58:40 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-16 16:14:31 +0100 |
commit | 76487f0241423497218f6ec505aa93cc29c8ddcd (patch) | |
tree | bb539d950ff3ab1c92edf7b650bf3209f7b745d6 /block | |
parent | z2ram: reindent (diff) | |
download | linux-76487f0241423497218f6ec505aa93cc29c8ddcd.tar.xz linux-76487f0241423497218f6ec505aa93cc29c8ddcd.zip |
z2ram: use separate gendisk for the different modes
Use separate gendisks (which share a tag_set) for the different operating
modes instead of redirecting the gendisk lookup using a probe callback.
This avoids potential problems with aliased block_device instances and
will eventually allow for removing the blk_register_region framework.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions