diff options
author | Christoph Hellwig <hch@lst.de> | 2023-06-22 17:06:44 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-22 09:09:33 -0600 |
commit | 648fa60fa7de3ca6f6303e1721591ad73def9cf0 (patch) | |
tree | a65dd38d39087ccaa6876cf260f0a49a9a5a2592 /lib/string_helpers.c | |
parent | 8270cb10c0681d52fce508f827dfa1688d3acc3a (diff) |
block: don't return -EINVAL for not found names in devt_from_devname
When we didn't find a device and didn't guess it might be a partition,
it might still show up later, so don't disable rootwait for it by
returning -EINVAL.
Fixes: 079caa35f786 ("init: clear root_wait on all invalid root= strings")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230622150644.600327-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions