lkml.org 
[lkml]   [2020]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/23] md: rewrite md_setup_drive to avoid ioctls
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.

\
 
 \ /
  Last update: 2020-07-16 15:39    [W:0.088 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site