Re: [PATCH] block: fix rootwait=

From: Fabio Estevam
Date: Thu Jun 08 2023 - 21:02:17 EST


Hi Mark,

On Thu, Jun 8, 2023 at 3:26 PM Mark Brown <broonie@xxxxxxxxxx> wrote:

> instead of mounting the device we already knew about. A bisect (log
> 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:

Tested-by: Fabio Estevam <festevam@xxxxxxxxx>

Thanks