Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4540791ybl; Tue, 21 Jan 2020 23:27:50 -0800 (PST) X-Google-Smtp-Source: APXvYqzFhz1Q3HkM4UsnrfrKSO70rgFeWckEiJa1ODKm8yGR7RBXWelElQ+GfcG9SykEZ3J0coiC X-Received: by 2002:aca:6108:: with SMTP id v8mr2228573oib.96.1579678070215; Tue, 21 Jan 2020 23:27:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579678070; cv=none; d=google.com; s=arc-20160816; b=HirqncVuy98aKISuzJLSEQJmxZgaiHb/BZn0ipp4leIeFm1sSsLsJK1xaf22DkOjnI cVKPbfrvm7WVEgJf0lc4OTvsIP8jqQ/NK6K8aK32ZRz1HesAUVODMornSahpaXsiy5o2 Qrfpw9N2p1sGUQRwGDxoIQ0OhsI9EGMqYvGTJndguFIXPw+pk4ZEjL4Fm0U9T+wV6F/r WO0wtl4dqJKjQQ7i8ianGL+W4pu399wNEvqKv4p6gcEcmVT1rPWmwdGZGEednSv/irXs bP8blHFMuBoY+kTnil6SlrGM6KbU0OKVOmCaXHPoNpPXqoASXp+WN0ddiCw5Y5IhN2cN AAUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=2Zrf4CHYdOonZ9AwRfsx78jQr1EpDEfA5h1zLsN2awg=; b=Uy6pq2aTAfONvABuNe2vNvIXI9VqzaPevst5kO0Wl70yqbmeyJKpCUr2TktxfSv7Sn +bhbATmkr4xM2FozaD/9gC9bjncVd7bD+Pmchb1YoSXg7J55u1Z9vyKlSssh4gYwmqsA 2yGxfY22ZUrvakbpt56EE0VSoPMosj1xf8iHLRBDmnHKd85H/w+13Ex5s4pXQDcbsHuJ J3V7LhOzg2oFjLhkN7KxpfcW31deI0saSBEwlHJxBExfS6ZFvtDsqKUinEiZ+ZV4JW8A RPwQHgx7Vh/VVdLeipg6H2/mwlXXS/sCGb5iV6kIJz9fefZSd01yeHQhrRQF6igWLRhB nolg== 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 y26si23788623otk.315.2020.01.21.23.27.30; Tue, 21 Jan 2020 23:27:50 -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 S1726049AbgAVH10 (ORCPT + 99 others); Wed, 22 Jan 2020 02:27:26 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:10126 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725884AbgAVH10 (ORCPT ); Wed, 22 Jan 2020 02:27:26 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id C741EF551C9C91A0EB7F; Wed, 22 Jan 2020 15:27:24 +0800 (CST) Received: from huawei.com (10.175.104.225) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Wed, 22 Jan 2020 15:27:17 +0800 From: Shijie Luo To: CC: , , Subject: [PATCH] ext4,jbd2: fix comment and code style Date: Wed, 22 Jan 2020 02:26:25 -0500 Message-ID: <20200122072625.16487-1-luoshijie1@huawei.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.225] X-CFilter-Loop: Reflected Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Fix comment and remove unnecessary blank. Signed-off-by: Shijie Luo --- 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