init: clear root_wait on all invalid root= strings
authorChristoph Hellwig <hch@lst.de>
Wed, 31 May 2023 12:55:25 +0000 (14:55 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Jun 2023 16:57:40 +0000 (10:57 -0600)
commit079caa35f7863cd9958b4555ae873ea4d352a502
tree1cdf0870c9f47cd8819efd938b09ec000d29b9c5
parentcf056a43121559d3642419917d405c3237ded90a
init: clear root_wait on all invalid root= strings

Instead of only clearing root_wait in devt_from_partuuid when the UUID
format was invalid, do that in parse_root_device for all strings that
failed to parse.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230531125535.676098-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
init/do_mounts.c