]> git.baikalelectronics.ru Git - kernel.git/commit
amiflop: use separate gendisks for Amiga vs MS-DOS mode
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Oct 2020 14:58:37 +0000 (15:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:14:30 +0000 (08:14 -0700)
commitd13d0f853add26913f0eff9615cd435d60967b5c
tree5590c60ba17c619badf7bd715804e70bc97d99f5
parent79421cab5cf7356bd6f0d8de7f3365e6cc9a30db
amiflop: use separate gendisks for Amiga vs MS-DOS mode

Use separate gendisks (which share a tag_set) for the native Amgiga vs
the MS-DOS mode 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>
drivers/block/amiflop.c