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 94ABFC25B0E for ; Wed, 17 Aug 2022 01:44:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238219AbiHQBox (ORCPT ); Tue, 16 Aug 2022 21:44:53 -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 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 > . >