lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230607053758.GA20425@lst.de>
Date:   Wed, 7 Jun 2023 07:37:58 +0200
From:   Christoph Hellwig <hch@....de>
To:     Fabio Estevam <festevam@...il.com>
Cc:     Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...nel.dk>,
        linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: rootwait regression in linux-next

Hi Fabio,

can you try this patch?

diff --git a/block/early-lookup.c b/block/early-lookup.c
index 3ff0d2e4dcbfb8..ca3b4f494c9330 100644
--- a/block/early-lookup.c
+++ b/block/early-lookup.c
@@ -174,7 +174,7 @@ static int __init devt_from_devname(const char *name, dev_t *devt)
 	while (p > s && isdigit(p[-1]))
 		p--;
 	if (p == s || !*p || *p == '0')
-		return -EINVAL;
+		return -ENOENT;
 
 	/* try disk name without <part number> */
 	part = simple_strtoul(p, NULL, 10);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ