Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3800753ybn; Fri, 27 Sep 2019 11:33:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaaxOmRiBcl4roTRezzNhssfRW7lDGE6r5awYiRSwQYqpmTnsn9ai7lNWoRZ5n7+/sf9DA X-Received: by 2002:a50:f391:: with SMTP id g17mr4684462edm.163.1569609205021; Fri, 27 Sep 2019 11:33:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569609205; cv=none; d=google.com; s=arc-20160816; b=txRXbasYhHDy4Xo43v2I3bSmIoRZokVxvJkL8p5iQUu85Kd9DYLzpHNlz5WylGpGth 5O57qoWbIMw0Hshis27MjMsqQH1NKnmVqqz8ZrVgHFB81llJSvn3GYSxtjPIsmwVDiQM xf65Yeha3xmydnmlVaTEqF8tnkhrfnqRvEB2iEO9MpuewtW7aIorJXkxwqTkkAgHVl6i jJPly0EKPgTJELhPMMT0t2Dfdw0WCkH+Fxt4Vw2XXy+5m4Bw//0qPOcAvCLK8LWhDUPN x50tE/uoaGlu1t603dcNlUd4lKjerZO4+mkVQlTB5dprNZuKyCaG0CHqDyuPIC7arnm9 4dHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=H+b7t4CL+d0AivAGUx4OduTFQtjYfL6lRY7UDWytFXE=; b=tmWTz1Xp6Y+Xj1D4LbvlZl7pOq8rt0/B8RX2Sa1bhu2G1ZHbDuuiSM38hz2DnOABf1 p2Txqj82dAqLrHtOt5MybQgMjZ7UakNNaGJ6LJ4FlUFwcXM/Cb23Ik8lgj+gh1DePB1C T2m/eyErVXMnaJDGS//qPr4vlP7X+GXadJpWKoPRdqE2gvF8jo0xqFdZaYQ3wY9GbyXF 1EPX1NR2BxqD5XHqe+BF33kBDuBKnM1ulTTz9IwgOBPy2I7/3xifw45ygx7k95GXKaFS xBiiv4558T2e9dJmWdLB9EX7loBB0fx2KMt21L9YVlV1UiJGoCf3W1y0XRxFN/Q3ymXl mC5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kZVr6zCc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si2155517edb.160.2019.09.27.11.33.00; Fri, 27 Sep 2019 11:33:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kZVr6zCc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728195AbfI0Sbv (ORCPT + 99 others); Fri, 27 Sep 2019 14:31:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:37736 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726294AbfI0Sbv (ORCPT ); Fri, 27 Sep 2019 14:31:51 -0400 Received: from localhost (unknown [104.132.0.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E055C21655; Fri, 27 Sep 2019 18:31:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569609111; bh=UNYxnX4ntOFxEKSdlmc5QQCfq4+Ba7pJxunUt3oMuws=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kZVr6zCc/phZF094x9qSudrSwmAlQIGe7hgbRWWLe8ydALl1rW/o5ooTk5kAgqY4y IL8fqL9nBl9bA7u5n3G5MBTgiSQMYybOB9HVHGnRTHE98uhZ3NLdVyA3c5J7tleQls fNGHpQEJBaCAUPR+GzyOlQltbGZ8S9p3jhnAM+n0= Date: Fri, 27 Sep 2019 11:31:50 -0700 From: Jaegeuk Kim To: Chao Yu Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, chao@kernel.org Subject: Re: [PATCH] f2fs: fix comment of f2fs_evict_inode Message-ID: <20190927183150.GA54001@jaegeuk-macbookpro.roam.corp.google.com> References: <20190925093050.118921-1-yuchao0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190925093050.118921-1-yuchao0@huawei.com> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chao, On 09/25, Chao Yu wrote: > evict() should be called once i_count is zero, rather than i_nlinke > is zero. > > Reported-by: Gao Xiang > Signed-off-by: Chao Yu > --- > fs/f2fs/inode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c > index db4fec30c30d..8262f4a483d3 100644 > --- a/fs/f2fs/inode.c > +++ b/fs/f2fs/inode.c > @@ -632,7 +632,7 @@ int f2fs_write_inode(struct inode *inode, struct writeback_control *wbc) > } > > /* > - * Called at the last iput() if i_nlink is zero I don't think this comment is wrong. You may be able to add on top of this. > + * Called at the last iput() if i_count is zero > */ > void f2fs_evict_inode(struct inode *inode) > { > -- > 2.18.0.rc1