[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200716133853.GA18326@lst.de>
Date: Thu, 16 Jul 2020 15:38:53 +0200
From: Christoph Hellwig <hch@....de>
To: NeilBrown <neil@...wn.name>
Cc: Christoph Hellwig <hch@....de>, linux-kernel@...r.kernel.org,
"H. Peter Anvin" <hpa@...or.com>, Song Liu <song@...nel.org>,
Al Viro <viro@...iv.linux.org.uk>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-raid@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [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@...e.de>
Ok, I've added that.
Powered by blists - more mailing lists