Re: [PATCH] block: fix rootwait=

From: Christoph Hellwig
Date: Fri Jun 09 2023 - 00:39:39 EST


On Thu, Jun 08, 2023 at 10:02:00PM -0300, Fabio Estevam wrote:
> > below) lands on this commit and reverting the first hunk:
> >
> > > @@ -181,7 +181,7 @@ static int __init devt_from_devname(const char *name, dev_t *devt)
> > > *p = '\0';
> > > *devt = blk_lookup_devt(s, part);
> > > if (*devt)
> > > - return 0;
> > > + return -ENODEV;
>
> I have tested reverting this first hunk and it also works for me, so
> if someone submits this fix:

Yes, the first hunk is completely bogus, sorry.

I'll send the fix.