From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7214BC77B7A for ; Wed, 7 Jun 2023 05:38:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232580AbjFGFiF (ORCPT ); Wed, 7 Jun 2023 01:38:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjFGFiC (ORCPT ); Wed, 7 Jun 2023 01:38:02 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38ECD19AE for ; Tue, 6 Jun 2023 22:38:02 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 086EA68AA6; Wed, 7 Jun 2023 07:37:59 +0200 (CEST) Date: Wed, 7 Jun 2023 07:37:58 +0200 From: Christoph Hellwig To: Fabio Estevam Cc: Christoph Hellwig , Jens Axboe , linux-kernel Subject: Re: rootwait regression in linux-next Message-ID: <20230607053758.GA20425@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 = simple_strtoul(p, NULL, 10);