Christoph Hellwig 1341c7d2cc block: fix rootwait=
Failures to look up the gendisk must return -ENODEV so that rootwait
retries the lookup instead of -EINVAL which exits early.

Fixes: cf056a431215 ("init: improve the name_to_dev_t interface")
Reported-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20230607135746.92995-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-06-07 08:00:14 -06:00
..
2023-06-05 10:53:04 -06:00
2023-06-01 09:13:31 -06:00
2023-04-26 12:52:58 -07:00
2022-02-02 07:49:59 -07:00
2023-06-07 08:00:14 -06:00
2023-06-05 10:53:04 -06:00
2023-06-05 10:53:04 -06:00
2023-04-26 12:52:58 -07:00
2022-03-07 12:48:35 -07:00