Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp331461ybl; Wed, 22 Jan 2020 22:45:07 -0800 (PST) X-Google-Smtp-Source: APXvYqyjtinAehFrm/O0y/hOh1PUzgHlBdUM5hLfzM99FF8YwoYjP5r/lFmylHGZ0MNyH/hlr4pZ X-Received: by 2002:a05:6830:1e37:: with SMTP id t23mr10504364otr.16.1579761907816; Wed, 22 Jan 2020 22:45:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579761907; cv=none; d=google.com; s=arc-20160816; b=sdfPc3RhL/vLSj3QEowBUqEezD5jN4D4YICNPLdeDvHIm6XS5GkDNwsc+JzXNfKl32 GSXbN/wZY74SiK1SGuMWg1u307MxkBA4hKl3x5dpNKl2n9YU3+QP0ffQcSKUlLSS297c AWzZw0q5MLNmbUEH8jBBX7xdIMJfO834vTvBATMh1WPTr8AAR3mDhPK8SWrf+OPvJdsM aVwsb29ZFc3qCeFitqMksFliiiIiKHelM7z4NEpsmtN6EBrxuCkQNr+RKO3jNogvY5HJ B+hIbya1DLJBs8Jksv6l7kxtAbkIf2dyhGeOyOrziBJHj8H9qEsZBwAAgpbgFqAazpt5 1tIQ== 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=kNCrPhMcYKSLYmY8PqKryba6Oxm79DNlSA6GFMZeyyw=; b=g4lGfG2kxRy/sZJG72IXkYqN4viRTiWrn+J3V5mmYKstdvXSgu2Cg2+1hrxA9AY4ef WB0FnRbRh5snmNCtbuekp9FL+m9oLcDiUpOSPEXSQnsIkyp8Dz+A64s3li9xu/qmdqpa 1E77AuPjIxbuo3RjbMGiNRndCp9Fu9sngUXU1FKOBRgaODTUy2C2JJCUA8vaNnb69WYU IUsL3QFdAi4UF4ifjpP9QXYQmIgbaUYcNo49gpcGQjeaSs/rEgaYWSpbgv9m/qDUppTD ciEgLgIgyw1FHlhRNkr1/xMVBKxVSWeiG3qaEgIZfgN39k8AKQ/Cu/jJ8T/lBMMqexR6 1NhA== 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 w18si687835otj.148.2020.01.22.22.44.51; Wed, 22 Jan 2020 22:45:07 -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 S1726231AbgAWGoP (ORCPT + 99 others); Thu, 23 Jan 2020 01:44:15 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:58778 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726164AbgAWGoN (ORCPT ); Thu, 23 Jan 2020 01:44:13 -0500 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 0810743B516CAC720386; Thu, 23 Jan 2020 14:44:12 +0800 (CST) Received: from huawei.com (10.175.104.225) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.439.0; Thu, 23 Jan 2020 14:44:02 +0800 From: Shijie Luo To: CC: , , Subject: [PATCH v2] ext4,jbd2: fix comment and code style Date: Thu, 23 Jan 2020 01:43:25 -0500 Message-ID: <20200123064325.36358-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 unneccessary blank. Signed-off-by: Shijie Luo Reviewed-by: Jan Kara --- 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