Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4320934rwb; Tue, 16 Aug 2022 19:54:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR6MI4GMv20MZkbWGTefiASsCe1rSaRG2NPzjIM80V29iLNILVHbSdQ1+ix6oRzfCfYKvsQF X-Received: by 2002:a17:90a:4801:b0:1fa:98ec:fa2 with SMTP id a1-20020a17090a480100b001fa98ec0fa2mr1569530pjh.41.1660704880693; Tue, 16 Aug 2022 19:54:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660704880; cv=none; d=google.com; s=arc-20160816; b=hULtYsSwjcu9mUtFlhq8fX0Bl8AkAJnuFcxfXKkWr+fuW1tGGoLbpiCdp4HJcopFJM +tCCswt7uAN9MO3Vgw/EBj7op5WN34+lfFxXwY+qtXsdkiHIJLcZcJ8oS6PU4X9VsnjZ v9liatz5XJ8po+EDZvFxIxgY+YuHyHRPHEhxgeZc/sKMfNd599B2u6JiBeBYFI0Y3AtC vu6WqnUlvCaM5MHwRXLVGrVab4by/u+ZUiw44jqZqFpWiJEHxcOq+1o8ZlQhMmA63TCr 0NrG7f71tFPV7Y+yejZPmOQtDoJVx+PlA71ytb278n7yxs6JS+/e4Pzg0jOjk+zs7gNk gZWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=q7/YOiJJ2NnFqoJNMzOcDcRZb2hXnzdWUO1FY75ZlII=; b=yD2udJxPMSOoc6derKPOpttuoFz0WGp9NmKZMK3uiLR2hr2Av4TiuWSpB/0ZPZ6TDU 24UPju8XA3cD06hpYq7lk0RgI21UyufOE6oYXpKhjrBLEgZqM8oT5gCjZsTCLLskm3eb vgwqzjZrSn/ORjL7R0hWOzPSaKD84d+WqQIMfCFubAzhOVkODzsaNP2xAuh2FYBx9r17 1bjJ7W3yiyDDuqVusN3Ro4vhi8gAZRRNXHEabLWyCpi1MLMpYmtbJv3BZmE3/W3b712O T535NE+LhZ96fb5CdZ0LKNTQtLBoqgQpfyDnLYEbjx8UXK13upvou3bI45cuAksXfxip JaLQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iw19-20020a170903045300b0016a24d76abasi238503plb.298.2022.08.16.19.54.30; Tue, 16 Aug 2022 19:54:40 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238300AbiHQClh (ORCPT + 99 others); Tue, 16 Aug 2022 22:41:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238272AbiHQClf (ORCPT ); Tue, 16 Aug 2022 22:41:35 -0400 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3FFA94EC1; Tue, 16 Aug 2022 19:41:33 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R551e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0VMTZlVN_1660704088; Received: from B-P7TQMD6M-0146.local(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VMTZlVN_1660704088) by smtp.aliyun-inc.com; Wed, 17 Aug 2022 10:41:30 +0800 Date: Wed, 17 Aug 2022 10:41:28 +0800 From: Gao Xiang To: Sun Ke Cc: xiang@kernel.org, chao@kernel.org, linux-erofs@lists.ozlabs.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, yinxin.x@bytedance.com Subject: Re: [PATCH] erofs: fix error return code in erofs_fscache_meta_read_folio and erofs_fscache_read_folio Message-ID: References: <20220815034829.3940803-1-sunke32@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 Ke, On Wed, Aug 17, 2022 at 09:44:46AM +0800, Sun Ke wrote: > > > 在 2022/8/16 13:16, Gao Xiang 写道: > > On Mon, Aug 15, 2022 at 11:48:29AM +0800, Sun Ke wrote: > > > If erofs_fscache_alloc_request fail and then goto out, it will return 0. > > > it should return a negative error code instead of 0. > > > > > > Fixes: d435d53228dd ("erofs: change to use asynchronous io for fscache readpage/readahead") > > > Signed-off-by: Sun Ke > > > > Minor, I tried to apply this patch by updating the patch title into > > "erofs: fix error return code in erofs_fscache_{meta_,}read_folio" > > > > since the original patch title is too long. > > Should I send a v2 patch to update the title? I've already updated this by hand if you have no concern ;) will push out to -next today... Thanks, Gao Xiang > > Thanks, > Sun Ke > > > > Thanks, > > Gao Xiang > > . > >