Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp321157ybl; Wed, 22 Jan 2020 22:28:57 -0800 (PST) X-Google-Smtp-Source: APXvYqz00J1Hk0x+T2b/9af/XjK+qpFB66KZY9ZavQqwCgHf5aITWFv4E1diqWbofW37Gv8OWozf X-Received: by 2002:a05:6830:612:: with SMTP id w18mr10381162oti.264.1579760937618; Wed, 22 Jan 2020 22:28:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579760937; cv=none; d=google.com; s=arc-20160816; b=guQYEpQvsfHK37yip/iq+GLYelcFtzeCqWYngatp6fLr8iB6iel+HqQtC2IAj8K1No IKM0FOdefduqbiDxtpWHR8vjRFWrGKPeHcuiLM4U1fxN2pvhskwNTTW+zpNZy4tpMOTS GoIRtrDn8mjDFoUs12yIl2DJ/VcBN98qD3axvGnJKRnraz4X8b2YcpdkEuPPR0Oc7HPl UAgpvMdJvTL4QEbLwRbaQ1JdiZwkKJqpfc0sQ5Lhf2GTXOpE/f9dckprwIFxbkAx40y5 p0dSnO4gzu1DXYBD5Qq5euHi95bYwGZ7V7pP7P8SxENYjLCQkSVWvZd67VkZh1bftMuQ wj9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=R4kIMdH28/uo7DSdaC4LI3RW3PTDTtdeI6JpjCrrSrI=; b=JLuRE8aHfvrW37pW59VIA8gMPsjxxmC2X8b8Kbtn87hmn3d3nsW/3SmoWJcUpsXesZ kGShNOhy7x07ZTZFwhj9EYfrrNIzsDdoF9N68x3NMtS3O/BuLSxTleEc27nyTLgY9tjW mJiCQB77EV1J/NfMq3N7WAxIPLFuqc/PBAAKcO3Er6JnqdcnukhjNsO+DPg2E9BVx2ZT 0lA4MMwmzq7/A0VZAFOQbVQ7do8ARj110BaDvTOJ2Mg/K3R/ssDCMEUn1FCJ1dY09tiF Ay54qp9cdEsp0rjol0osl0Sqg/it4SgST+uqRAA067WGe3MxpWDk7Oxq2INaGx8gFf+h zgQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v25si642625ote.90.2020.01.22.22.28.46; Wed, 22 Jan 2020 22:28:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725828AbgAWG2o (ORCPT + 99 others); Thu, 23 Jan 2020 01:28:44 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:9238 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725535AbgAWG2o (ORCPT ); Thu, 23 Jan 2020 01:28:44 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 3606EE19C5279C7D7579; Thu, 23 Jan 2020 14:28:43 +0800 (CST) Received: from [127.0.0.1] (10.173.222.42) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Thu, 23 Jan 2020 14:28:41 +0800 Subject: Re: [PATCH] ext4,jbd2: fix comment and code style To: Jan Kara CC: , References: <20200122072625.16487-1-luoshijie1@huawei.com> <20200122084702.GA12845@quack2.suse.cz> From: Shijie Luo Message-ID: Date: Thu, 23 Jan 2020 14:28:40 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20200122084702.GA12845@quack2.suse.cz> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.173.222.42] X-CFilter-Loop: Reflected Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 2020/1/22 16:47, Jan Kara wrote: > On Wed 22-01-20 02:26:25, Shijie Luo wrote: >> Fix comment and remove unnecessary blank. >> >> Signed-off-by: Shijie Luo > Looks good. You can add: > > Reviewed-by: Jan Kara > > Honza Thanks for your review. >> --- >> fs/ext4/inline.c | 2 +- >> fs/jbd2/transaction.c | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c >> index 2fec62d764fa..a6695e1d246c 100644 >> --- a/fs/ext4/inline.c >> +++ b/fs/ext4/inline.c >> @@ -849,7 +849,7 @@ static int ext4_da_convert_inline_data_to_extent(struct address_space *mapping, >> >> /* >> * Prepare the write for the inline data. >> - * If the the data can be written into the inode, we just read >> + * If the data can be written into the inode, we just read >> * the page and make it uptodate, and start the journal. >> * Otherwise read the page, makes it dirty so that it can be >> * handle in writepages(the i_disksize update is left to the >> diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c >> index 27b9f9dee434..f7a9da75b160 100644 >> --- a/fs/jbd2/transaction.c >> +++ b/fs/jbd2/transaction.c >> @@ -1595,7 +1595,7 @@ int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) >> * Allow this call even if the handle has aborted --- it may be part of >> * the caller's cleanup after an abort. >> */ >> -int jbd2_journal_forget (handle_t *handle, struct buffer_head *bh) >> +int jbd2_journal_forget(handle_t *handle, struct buffer_head *bh) >> { >> transaction_t *transaction = handle->h_transaction; >> journal_t *journal; >> -- >> 2.19.1 >>