Re: [PATCH 15/19] amiflop: use separate gendisks for Amiga vs MS-DOS mode

Hannes Reinecke
2020-09-04T10:28:47Z

On 9/3/20 10:01 AM, Christoph Hellwig wrote:
> 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>
> ---
> drivers/block/amiflop.c | 98 +++++++++++++++++++++++------------------
> 1 file changed, 55 insertions(+), 43 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer