Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp437676pxu; Tue, 5 Jan 2021 15:47:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyn9nd8Qxn3hdsNma8XExNnyNViVgPlEAX7w0tAsu76nTL0/fGb8V2o7dAF4X/TH9twSvQh X-Received: by 2002:a50:f392:: with SMTP id g18mr2141418edm.306.1609890446569; Tue, 05 Jan 2021 15:47:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609890446; cv=none; d=google.com; s=arc-20160816; b=bthYuY/TzgvPVasN6Qo/6T6dfmRatHrcID871VOFhmlush9XKktW6oTKNmERZmA3il HWNrchuOKGQuyC0TeqreTLuOqet6+3bz/IKkd6d68PYIpNm+Pu6TOxmOypkkra6lqDNS ybT92ceHYcb/Fj/vizzEoExiz6uvGBhjpsiemypWGNmUtwR6u7zNLK7c8Fn9Auc5tckM CEmo0qZdFsF/8C8XsbfjiVbJpU+mUpQwJjGpjB9mU/Zz04/iLxtanpID+sv0NXqiS+q3 a8g4w9XP2Vhtlpdal2W0pLhdmeKEcJynn46qbn2OYdHq84+n5gVStiCHoEe6pgKmiukB rdEQ== 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=X+lsGeGZVOdiCcuCKyqZkmsAaN7NfLED4MoSjrB0U1s=; b=ocPq+7LH6CFON917DOQvjwXTQdGHKcumtek+73otK/rMGigT87It6SecufFxdssF5F cot/tXSj0GOWylk79BLqTxUHU6qSohj2vC+6r1CqXPXohh91Ikc7tyC2oN53Q1m0+gu0 qXQ98dN4kc3JvB0IOwUVXAptmEgfl2mdAQyyHWBTvePDaZ6DxL6C/p9TtcPEGtWAkbMA jBw3kctXcfI5mzjwTtll9OUinN0bZjhQgQIU1oVd8V9YnbdmqBndd/M9uZb4+QerP3Kf X+gOnwWTw/ZN0Ro/kWjTuJqTGrB3jHdXUx4bkQNGJBaMVOnlX/iXEuTusGrwlfq10abx xLZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kKOaGXJU; 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 lx16si283988ejb.103.2021.01.05.15.47.03; Tue, 05 Jan 2021 15:47:26 -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=kKOaGXJU; 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 S1726603AbhAEXpr (ORCPT + 99 others); Tue, 5 Jan 2021 18:45:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725769AbhAEXpq (ORCPT ); Tue, 5 Jan 2021 18:45:46 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3553CC061793; Tue, 5 Jan 2021 15:45:06 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id h22so2620573lfu.2; Tue, 05 Jan 2021 15:45: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=X+lsGeGZVOdiCcuCKyqZkmsAaN7NfLED4MoSjrB0U1s=; b=kKOaGXJUdAEzBjhbtqV+bOMfPTBDrhqllrk1Rdx/EV28lEPligrl+K83MLWlzYL5/m 4NSj7Kjr3YFzJ7OV/L+jbcesVQ7id9MoVyA+xgfGt1UtR0G7pxNLfGQVAYVPcK1U25xa TU9iSEQGZttY1BZlDuxhnsjDubQJ8bBPVMoKqLZ9lHXQSZzemiIVaexaWlhQp5eBunVa 3XishtpIagh5xvHHLM5SpIw13QbD64t/TJvu5qzY4QNFa3C8p+WHCZv31y+LxFwTbpuv RM1Tebb7+L7Yt7gsK74hP2XVeYN2rUEwEIjuBBUocQ9W0vc7PD1wq79ocYQ0Bu8U+aSQ v87A== 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=X+lsGeGZVOdiCcuCKyqZkmsAaN7NfLED4MoSjrB0U1s=; b=ayvi1cmx1QiY36S29OV1zljmWuZDEp8+plfl2kBt6OoeT6P/sbNo5cTk93qI/J48je 6YZaRjtb93i/bJYUlG8wssUdWEAGxza0N3ctrWeUJaNBI9tjPXqIbdMp5pU3JkVtJCcV ofFtCxZfMKjlfTXNP7QHaYQiVG7PnVSy3buup6BgqQ5QnX/6OgqMsk6XbGPowAoLp1mQ kaIC02DPFhjMELjXo392SJa6pNcKXkzQ5TEq4nsAUBa/GmjxJdx5qjUxPCu4nAXPaYtD I7nbjvEsUEg6zbV/VZ5DfNIXEC0xhv4loI6M4u2ep1/ILtUoWa3TOVcLtYeurjeAQkJJ Ztig== X-Gm-Message-State: AOAM531AmyIvmKGqCJQJnem1D6L/axm0gYMcF3fB1uwiNkFxBo4aQ8Gt K6z46qE8T4la1VjC3Zm8FrTiTSqeKSKg6DGaqs1ksTSsHcU= X-Received: by 2002:a2e:a593:: with SMTP id m19mr861832ljp.327.1609890304730; Tue, 05 Jan 2021 15:45:04 -0800 (PST) MIME-Version: 1.0 References: <20210105041630.1393157-1-daeho43@gmail.com> In-Reply-To: From: Daeho Jeong Date: Wed, 6 Jan 2021 08:44:53 +0900 Message-ID: Subject: Re: [f2fs-dev] [PATCH v2] f2fs: fix null page reference in redirty_blocks To: Markus Elfring Cc: Daeho Jeong , linux-f2fs-devel@lists.sourceforge.net, kernel-janitors@vger.kernel.org, Colin Ian King , kernel-team@android.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Got it~ Thanks, 2021=EB=85=84 1=EC=9B=94 5=EC=9D=BC (=ED=99=94) =EC=98=A4=ED=9B=84 9:06, Ma= rkus Elfring =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > > > Fixed null page reference when find_lock_page() fails in > > redirty_blocks(). > > I suggest to choose an other imperative wording for this change descripti= on. > > See also: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/D= ocumentation/process/submitting-patches.rst?id=3D36bbbd0e234d817938bdc52121= a0f5473b3e58f5#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 b= ranch > for this function implementation. > > See also: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/D= ocumentation/process/coding-style.rst?id=3D36bbbd0e234d817938bdc52121a0f547= 3b3e58f5#n481 > > Regards, > Markus > > > _______________________________________________ > Linux-f2fs-devel mailing list > Linux-f2fs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel