Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4302374rwb; Tue, 16 Aug 2022 19:23:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR6aFPqOyyZD73z4gGfNTEwo/Sh8II0SS0C1ufppXOtPf5xYPd8kMMZ3NMBZSvePSucadq+a X-Received: by 2002:a63:4b5e:0:b0:41d:e04b:4515 with SMTP id k30-20020a634b5e000000b0041de04b4515mr19780483pgl.100.1660702984471; Tue, 16 Aug 2022 19:23:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660702984; cv=none; d=google.com; s=arc-20160816; b=AY4AoHpH9Hn/odbegZv1CkvTKsOIdy8Lcf7XjGYrx8+hPDoY75yw3dx1dpX5RsEPsy Z2WFkHWL2o0cj3zJnX75yejBPnbmwmKNgA+0pb4YqTqFR9+QMKrYkPoZKRKQcszjfaU2 slkRfjhNj94xLwrV8kaQYW3lS+8qVGZXBUxyLdeH3q183Vj8Bkkj8ifMurbdLrZlBj/C adKJshLX6OxjDrEHh30E3YXVbD0IuYnk20KJa/dl5f8HvzeXUFje5f/bxvLehVQ5thhU 5REwrOf/pif1SaWdc90h+N0AEFfCOpBp2us4+YMDvB7rNmv9pB8thhjLezfHYLT++1QL NJNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=4fZ6AMi1Ji+XO+v6UlL7jbSYNC037uk/2vDAPKqppoA=; b=KYSzBx9wMMfjpxnKL0Uu4hcY255dj5mrwpZ7MAwNEmEHFCfeGrfTz0Gr/LfXxq0Bzw jrRy7QzrDDM+xVmUP7+yr5vO81NSFYelHs8NJKCDM1K6BN4P7kicppVS6RF/EEjYyy6h zuC6L4LVdcewxPQVmIKbWa0NpaDS/NEcZzlppl0eHCI33rgZhGKP/OBlhN910GkIE4pz VNCDn8wQ048quCo6OQGAZUrlxV5S1hIHzZ43IMeKX05UrnRgykBEgtMJbZxfVJbs3zjE ufI3KYFlIoCd+LvP9ZiRJd1cMIdvWGk06QNYeeH3gY6TELUupp1ybnFVDzf3Ug33p6L7 Ce9g== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a630f06000000b0041cbca26a23si17256531pgl.83.2022.08.16.19.22.53; Tue, 16 Aug 2022 19:23:04 -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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238337AbiHQBow (ORCPT + 99 others); Tue, 16 Aug 2022 21:44:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237352AbiHQBov (ORCPT ); Tue, 16 Aug 2022 21:44:51 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D82559351C; Tue, 16 Aug 2022 18:44:49 -0700 (PDT) Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4M6rP8615HzmVqc; Wed, 17 Aug 2022 09:42:36 +0800 (CST) Received: from kwepemm600010.china.huawei.com (7.193.23.86) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 17 Aug 2022 09:44:48 +0800 Received: from [10.174.178.31] (10.174.178.31) by kwepemm600010.china.huawei.com (7.193.23.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 17 Aug 2022 09:44:47 +0800 Subject: Re: [PATCH] erofs: fix error return code in erofs_fscache_meta_read_folio and erofs_fscache_read_folio To: Gao Xiang CC: , , , , , References: <20220815034829.3940803-1-sunke32@huawei.com> From: Sun Ke Message-ID: Date: Wed, 17 Aug 2022 09:44:46 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.178.31] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemm600010.china.huawei.com (7.193.23.86) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,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 在 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? Thanks, Sun Ke > > Thanks, > Gao Xiang > . >