Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp542029pxu; Tue, 5 Jan 2021 19:38:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJx46leLJAGNfMTwgGaqadZB6DC0a6bWq8G4suT3mmImDbkd0E/PzJhpfD6uWb90GmiEuTDK X-Received: by 2002:a17:906:94ca:: with SMTP id d10mr1564369ejy.62.1609904338443; Tue, 05 Jan 2021 19:38:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609904338; cv=none; d=google.com; s=arc-20160816; b=WBr5lU57h8ijV8bWK+nhfUHk/S3+hZ7zDIZXeeBWZDwYvIMBx+DK5MBV1+GXkIyJmW K7udRW3hFvMVwtqXiajACYRUPbPKfgFbW+LbxQTiTFWK5EMs2Q8/DRndOeB/EUASBJvY LErt/POfSiTo1YGrdgIH4OHUm9/MWdG5Xw1SazcOaoAIQvP9WIuX3LaYoiKSPGw/DlQ8 DnlVOfQ8RAvfX9RHHW0BjFRLjoUh/dDxon7hgOycu6zo/ZwWFFOlboXWqby+SGEfPnxQ 5DTgkcJ3pxV3vnNh4HVPEIK0H3Gmc6MD/19kv55i05vKsCDi2NwofeHxh+yY1l7KHPQi 7leQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=2snO45VnQ9DfpOQUXz5os2mTBvmAqZ+J43JJFFTkk28=; b=jaKSrybSM5QR47UM4uuA+//jPx13Nw4G4/E916DAlgOICXteDZpnArlmq8x9MrwQlj jK2bt1Si7QIJwBcoZ90lzt/kNy7yklpe7wpKJWsHGGjyDxPH/9ZKWwBBcYh9VkCo+Lr/ c9pA6c2oswaCafn4BiJTZ2Pdyq6PYz+FsBHOG0LLNN4hIwtjw1naSu6u4UzLSjrCuZEl IhZ8WsyU5zz2SN0E9cm900jAFROElNGHbW3mVOCe06WrMZmKMbfiiTeThkCU3WyGeDbd 80EThm8yUWbiKj+7UGM8Ydra7m6jSHsq4hYPMSi3wZTwKYZzKOV4LfBbqXQYftiAPJW0 dp1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BxzymUjK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m17si453658ejn.194.2021.01.05.19.38.34; Tue, 05 Jan 2021 19:38:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BxzymUjK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726145AbhAFDgr (ORCPT + 99 others); Tue, 5 Jan 2021 22:36:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725868AbhAFDgq (ORCPT ); Tue, 5 Jan 2021 22:36:46 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 441C3C06134C; Tue, 5 Jan 2021 19:36:06 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id o19so3619524lfo.1; Tue, 05 Jan 2021 19:36:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=2snO45VnQ9DfpOQUXz5os2mTBvmAqZ+J43JJFFTkk28=; b=BxzymUjKVx+WjEM1RGa5cBOvn9Q5KkUj32bIVyB6xAujEHAJpCJMoYPoNehAl2jN7H PuwALS1bXxIoCZpV5ofFT3bysPxSxPZ02kzaPNDQHEz3ws3CSzalTEYCQKo/N3Cr75U7 Li7jyB4gWQ/RUCB+KY9vEM1bCIGh9B0DRZiofOnl17ZU05vHn5vIPdI+ZJT6jEjtCE7J gJgFayYFT8IYIdiid94DZahr3+4pB0GBewn2ixGbjhp0z8HeyJgGGbxTx1TW4cZwehAs Z/T7DeACIHLWbHYUU4qZYo0tbD4LCd0zrrLE40M9ewoCSSvoBrn/qbRK7ui/rpYg+zdr ky4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=2snO45VnQ9DfpOQUXz5os2mTBvmAqZ+J43JJFFTkk28=; b=Qofh7R4lbyDMwU4B7ij51B2iw+D+VfgIl/+xQmDoJlvkhPAmpPCwMSi4VGdtt5iMLJ lCfKQfsGWdRLctGRsqyIiTZhKS2EEXd4IPi7MAwK0ynaxuXxnW6gJnFgCJP7deAQyqd2 7WJuNJcPydssvVYlj37P+YWq9NNVT91BB6u/wxpyAYc0UJSq+2qFGZwIpIEBEoWugTLU ySQkgAnK+jTFRbRbEgKQvrmk+kIDbxDmXFII5fD+xgCQD1AVwIu/xYAq6BZkeKLuwI4J 2P6nwyq/2gVgHu/iq4hjZyY1mvuz622ssD8wJtVgf68Zk2e53CnyV8kxsgpTpmB9ZkeP FZgg== X-Gm-Message-State: AOAM530SlO/4osO/W8BJt++jdEAZiEwgEOVoVIaoExzEbvohck3M7yJ9 HfOGUHoZ06+gHhoyt25ID+YrYvbYOvUWsz+rH4I= X-Received: by 2002:ac2:5ff1:: with SMTP id s17mr1114188lfg.139.1609904164760; Tue, 05 Jan 2021 19:36:04 -0800 (PST) MIME-Version: 1.0 References: <20210105041630.1393157-1-daeho43@gmail.com> <6c8e6561-8a5d-010f-3d7c-8c051b4027e6@huawei.com> In-Reply-To: <6c8e6561-8a5d-010f-3d7c-8c051b4027e6@huawei.com> From: Daeho Jeong Date: Wed, 6 Jan 2021 12:35:53 +0900 Message-ID: Subject: Re: [f2fs-dev] [PATCH v2] f2fs: fix null page reference in redirty_blocks To: Chao Yu Cc: Daeho Jeong , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Markus Elfring , Colin Ian King , kernel-team@android.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for the notice~ 2021=EB=85=84 1=EC=9B=94 6=EC=9D=BC (=EC=88=98) =EC=98=A4=EC=A0=84 10:04, C= hao Yu =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > > Daeho, > > FYI > > https://www.spinics.net/lists/kernel/msg3595944.html > > On 2021/1/5 20:04, Markus Elfring wrote: > >> Fixed null page reference when find_lock_page() fails in > >> redirty_blocks(). > > > > I suggest to choose an other imperative wording for this change descrip= tion. > > > > See also: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree= /Documentation/process/submitting-patches.rst?id=3D36bbbd0e234d817938bdc521= 21a0f5473b3e58f5#n89 > > > > > >> v2: changed error value and break the loop when error occurs > > > > I propose to use a return statement instead of a break in the second if= branch > > for this function implementation. > > > > See also: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree= /Documentation/process/coding-style.rst?id=3D36bbbd0e234d817938bdc52121a0f5= 473b3e58f5#n481 > > > > Regards, > > Markus > > > > > > _______________________________________________ > > Linux-f2fs-devel mailing list > > Linux-f2fs-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel > > . > > > > > _______________________________________________ > Linux-f2fs-devel mailing list > Linux-f2fs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel