Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp257196rwd; Tue, 6 Jun 2023 22:41:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5dsTG13Y9vvjCojYLdLkGBoPbRAQiSdHB/79e+ng+0KBMl0/Af3yh+7Ut64+0/5juR3NV3 X-Received: by 2002:a9d:6a83:0:b0:6af:856f:7c4e with SMTP id l3-20020a9d6a83000000b006af856f7c4emr4305409otq.1.1686116460264; Tue, 06 Jun 2023 22:41:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686116460; cv=none; d=google.com; s=arc-20160816; b=Wf4JnY+WoklUXRMhJ8JFFf4XCVgGjrfrkyRGjs4thQMB5gomSCuzDmdSvLdKdfsajW w52OnR1b20fYzYz1MjewpM7e9qfkzA5rJ5AVlfJW2wwzvd45BvwbGD5Ryi2MdZNGyms0 ztDvKZ8XWaDm7kG/mCFEt68Cy6jARqWUzPDSLPPrDJq9lH7PoBlN92y+l5sB+ku4efjT 9YBCiwO8xJUWiCpsLA66tJTsNIWoZEeeDv2cCFfTxSJpAXYUBITHX/U9jQw3Yo+cs6i9 7cswuDCT3/HSuch4NnxHTKa1yGlicRtSqlKZzuDlOS5P0FZAmjIMDkQARmf10PvdWD2c d9hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=IyUuKTG7vxpHWmXjV7ckq1hmNfYr3f7Tp82isFk4D5U=; b=WaIAIQKzmFvGe+MN5gnXKYHSH9G9qFkU1of2bEgITKR4QYGXTvzHqY69TwvRQFges8 zWMnsxUIMwU+DWHyo5LfQ/Dmi3HG49Lo20XJg+afZkocEblAC8oiI7y4VHEVIbrW/11F /nlrw89olUCqb1LmaA4e+/EnI4x4MP2V72wEbuRpd6LpddrwV50FhgJ0hjAr86brrkgc V9vgL+VHJ+AhU9Qi7Knge1Md2n47EWQP7xOVVQyb3Jzyk9a5MJpy9lNtjiFEUn+PScHC dU46XaCqIEA+ccGpBheOR2wcngiUoxEumymPe1cIbe7jcM//nw8dPlsKsdRuP1k+f+ru tc+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020aa79610000000b00656d1628952si5973661pfg.296.2023.06.06.22.40.43; Tue, 06 Jun 2023 22:41:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231824AbjFGFiE (ORCPT + 99 others); Wed, 7 Jun 2023 01:38:04 -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) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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);