Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3986562pxv; Tue, 13 Jul 2021 08:18:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/oONvyTILDdLGNUViNmD6GlHWzuhmy93YRiknJageK1X7pc4yBoxk1gNWKvsmzjWgCTzL X-Received: by 2002:a02:cd1a:: with SMTP id g26mr4575543jaq.38.1626189505269; Tue, 13 Jul 2021 08:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626189505; cv=none; d=google.com; s=arc-20160816; b=p8C49wygDwgbQQXNsXJ7EVmDzRU9NNMzJOlz4Je4ZxsJjSliTaxqdGXqz3lKyo1IdU Z3NauLGALZn5CgdgSkIW8pgssa7gLu6jIEef1Pv76wfElNZYrEQKZoS7OF1kiQlSRAF7 5UbPHu2t7WHBeiOWijug7cW4TqWC8BbKgLUsHsAwHvmr85ETWx+dTpND96Pw6ik8HQQ1 wIeT5A/ZkMrRyEFvMnbm8KuDpO1EE56sYoZThrNVMTW1kRJL5cYlavShPwjX0D2YAbk+ sSXsjWMYsloUAWpjq+kKkcDCZ1qXX8x8FfWAq3IkEI5TxWAPdJ8UAXGa16tYrFxFj/k4 xT4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=OugUYcdbWnmFO4L1Bq0cZ+t/zX082NeKg/Jqt9gM3HI=; b=LsWpVG6/2B6UumqYivqTQasCmLZtSU9wPnaDGx5UCXeO7kYNs8bbayNAfS3guuULDW lTkAnTjHs4l6VnzmYZVAScY2A6KInL0rHOyBwwbEqmQz/jPE3qw+cKQX5lSiliqb0wP0 8zLGmmt/8eR6nvdkkoMJY+QQS9vZHCABcnf7QXQNugjisSUtLo4YnKRiVge/O21IFL7q U1LHE++Q2wIeI+Xp8iWcS6eqTCXaU1KTgALqwRuoPCHtXmP0PNYb15jVD2dZ/GC8sFPV FjKeS0dsCN5HYbkbCyqj0h28CVimkjpVHsxozX7pxm787SQdJ2Ak6wfJGMbEUqffimlB rLfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=BbPfczro; dkim=neutral (no key) header.i=@suse.cz header.b=WkvwvDvq; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d14si22036053iow.80.2021.07.13.08.18.06; Tue, 13 Jul 2021 08:18:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=@suse.cz header.s=susede2_rsa header.b=BbPfczro; dkim=neutral (no key) header.i=@suse.cz header.b=WkvwvDvq; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236931AbhGMPUh (ORCPT + 99 others); Tue, 13 Jul 2021 11:20:37 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:43098 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236901AbhGMPUh (ORCPT ); Tue, 13 Jul 2021 11:20:37 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 7DD03201E1; Tue, 13 Jul 2021 15:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1626189466; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=OugUYcdbWnmFO4L1Bq0cZ+t/zX082NeKg/Jqt9gM3HI=; b=BbPfczroi+1NStZhS62Qc+056En5C1K2D22KCqfP/svvqE1RlJB50KdbCwglozgPnQLjDZ nM7Xx4E24h2jLXn0hwUmpQaKsgWjk16RQJm5AQpFj7KwS3w5kr1zWDl9HzvOA1Fw8UWg6j Y/CnwswB1mwcAnHqnLV/i9kzbwHJ/LA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1626189466; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=OugUYcdbWnmFO4L1Bq0cZ+t/zX082NeKg/Jqt9gM3HI=; b=WkvwvDvqMX5fv0Ynqygn7wR49OYryBnnBGLJ/oagJo63bPPvoAvUBkYh2+/qBc6+KYnOAb 02fec9ZzN+6WEdDw== Received: from quack2.suse.cz (unknown [10.100.224.230]) by relay2.suse.de (Postfix) with ESMTP id 70CA5A3B9D; Tue, 13 Jul 2021 15:17:46 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 1F13B1E0BBE; Tue, 13 Jul 2021 17:17:46 +0200 (CEST) Date: Tue, 13 Jul 2021 17:17:46 +0200 From: Jan Kara To: Guoqing Jiang Cc: tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org Subject: Re: [RFC PATCH] ext4: remove conflict comment from __ext4_forget Message-ID: <20210713151746.GD24271@quack2.suse.cz> References: <20210623085846.1059647-1-jgq516@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210623085846.1059647-1-jgq516@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed 23-06-21 16:58:46, Guoqing Jiang wrote: > From: Guoqing Jiang > > We do a bforget and return for no journal case, so let's remove this > conflict comment. > > Signed-off-by: Guoqing Jiang Looks good. I agree the comment seems stale. Feel free to add: Reviewed-by: Jan Kara Honza > --- > Not sure if my understanding is correct, so this is RFC. > > Thanks, > Guoqing > > fs/ext4/ext4_jbd2.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/fs/ext4/ext4_jbd2.c b/fs/ext4/ext4_jbd2.c > index be799040a415..6e224b19eae7 100644 > --- a/fs/ext4/ext4_jbd2.c > +++ b/fs/ext4/ext4_jbd2.c > @@ -244,9 +244,6 @@ int __ext4_journal_get_write_access(const char *where, unsigned int line, > * "bh" may be NULL: a metadata block may have been freed from memory > * but there may still be a record of it in the journal, and that record > * still needs to be revoked. > - * > - * If the handle isn't valid we're not journaling, but we still need to > - * call into ext4_journal_revoke() to put the buffer head. > */ > int __ext4_forget(const char *where, unsigned int line, handle_t *handle, > int is_metadata, struct inode *inode, > -- > 2.25.1 > -- Jan Kara SUSE Labs, CR