Re: [PATCH 02/14] block: switch register_disk to use blkdev_get_by_dev

Christoph Hellwig
2020-09-19T05:15:27Z

On Fri, Sep 18, 2020 at 11:52:39AM +0300, Sergei Shtylyov wrote:
> Hello!
>
> On 17.09.2020 19:57, Christoph Hellwig wrote:
>
>> Use blkdev_get_by_dev instead of open coding it using bdget_disk +
>> blkdev_get.
>
> I don't see where you are removing bdget_disk() call (situated just before
> the below code?)...

Indeed. That's what you get for a messy last minute rebase.. :(