Re: [PATCH 09/23] md: rewrite md_setup_drive to avoid ioctls

Christoph Hellwig
2020-07-16T13:38:58Z

On Thu, Jul 16, 2020 at 09:50:49AM +1000, NeilBrown wrote:
> I'd be more comfortable if you added something like
> if (WARN(bdev->bd_disk->fops != md_fops,
> "Opening block device %x resulted in non-md device\"))
> return;
> here. However even without that
>
> Reviewed-by: NeilBrown <neilb@suse.de>

Ok, I've added that.