Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp365831ybh; Sat, 18 Jul 2020 06:30:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCgxOZMBgOnTvdogMkz0e56lIow21Bu+WaMkY+NZQLXG5Tei39MnZDhTOHIsJ777ZoTGT4 X-Received: by 2002:aa7:cd52:: with SMTP id v18mr13120566edw.196.1595079041320; Sat, 18 Jul 2020 06:30:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595079041; cv=none; d=google.com; s=arc-20160816; b=DFnzQF8BS2P7Syj00NQ42ofWNpzK+bbH/bMOHhiBRw30vWD5PP1ABoYLa+gTVJIMm6 me9ZJR0l0+06gcaNWufRuICQ+p+f8zRqJ8D1eG79/lUclJ5tW5XYWeujHd1/9LOLH8Ch KP1CYCg/XLs5WeC36/+uuREF2MdHYoXLISUkL+R4NphvoRIuMHCU9WSJjsrgWl1cGhaM 0dCzWYcvwOMMW3HQ/8ntaf2zC5vCZT+FvcaBlQhcc5K5WT4TBa79Rk6t9AwQY72Nd2kl QT5iLVnsWCoqQL9GENdxJzJCbaQEnZHhG9mG2yhu3YSea8FEY0/5Ik7nwM9pV5xJ0JM0 sMFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=Nrs0U0+MFKKRAAU9NtId3jHpjc4smynpnfde3x7aSUk=; b=RbJARjkQ8J4l8lbx1TBAPlQa3NTcYTbTgP/726BAmULwFb3e0BL9ayBX5Rgh+2kIRK eRAVLigVQw+8EaNJQ+BtNWg5DrSY9s0ilTp0Hr7K+Xmh9J7FaO50HLowMuXDGq9Sc7Z8 UhHTl6Ki2LeLAETxpg3/P+tFrB/fqpXkhAwKcB0dXrNSGAiPZH0vp+1w4uG8p5MBO590 +Abl2EGx3zIuz/NrX6DRRINiU8HYJLKBzEvJ9/qUICwIjAy+ziQFPkbZ0xr8n2HUY3Np TlsuW/H0RU6CLp7yvmfTEKiQIpmAvyu2xzKx4hzqcZG5aDrJbIwbuqgg8n2UKwZlhFNW i8oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=BgxXTonA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dg12si6988464edb.81.2020.07.18.06.30.02; Sat, 18 Jul 2020 06:30:41 -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=@126.com header.s=s110527 header.b=BgxXTonA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726574AbgGRN2z (ORCPT + 99 others); Sat, 18 Jul 2020 09:28:55 -0400 Received: from m15111.mail.126.com ([220.181.15.111]:52017 "EHLO m15111.mail.126.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726569AbgGRN2y (ORCPT ); Sat, 18 Jul 2020 09:28:54 -0400 X-Greylist: delayed 1852 seconds by postgrey-1.27 at vger.kernel.org; Sat, 18 Jul 2020 09:28:53 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id; bh=Nrs0U0+MFKKRAAU9Nt Id3jHpjc4smynpnfde3x7aSUk=; b=BgxXTonA7plPDAUC85Kp910v4oOh1gXwiG nrfars58K54KDSPLGQahbSaxqr27wAbgYbLPAJ/OcN2VKT9NM1Pw6DZLtS/88COm UhBiflNDqTDlplijWcwzdQEvSg1M3KTyZ2VUaG6Z9xVe7VwAj/C0I7LcGx1MIVxG UBNthTK2g= Received: from 192.168.137.249 (unknown [112.10.74.162]) by smtp1 (Coremail) with SMTP id C8mowAAnFFrD8RJfJrTAHg--.49366S3; Sat, 18 Jul 2020 20:57:41 +0800 (CST) From: Xianting Tian To: tytso@mit.edu, jack@suse.com Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] jbd2: fix incorrect code style Date: Sat, 18 Jul 2020 08:57:37 -0400 Message-Id: <1595077057-8048-1-git-send-email-xianting_tian@126.com> X-Mailer: git-send-email 1.8.3.1 X-CM-TRANSID: C8mowAAnFFrD8RJfJrTAHg--.49366S3 X-Coremail-Antispam: 1Uf129KBjvJXoWxXF4fXw1UJw45AFyktF4ktFb_yoW5XrWfpw 1Utry8urW0vryUAa4vqF48GFWYgrWSyFW7KrsrC3WktanxGFnIvryIyF4DA3yqqFZ5W3W7 AFy8t397Cw4vkwUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jiVyxUUUUU= X-Originating-IP: [112.10.74.162] X-CM-SenderInfo: h0ld03plqjs3xldqqiyswou0bp/1tbi9AVlpFpD+9igGwAAsx Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Remove unnecessary blank. Signed-off-by: Xianting Tian --- fs/jbd2/journal.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index e494443..5eccf8c 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c @@ -1285,7 +1285,7 @@ journal_t *jbd2_journal_init_inode(struct inode *inode) * superblock as being NULL to prevent the journal destroy from writing * back a bogus superblock. */ -static void journal_fail_superblock (journal_t *journal) +static void journal_fail_superblock(journal_t *journal) { struct buffer_head *bh = journal->j_sb_buffer; brelse(bh); @@ -1815,7 +1815,7 @@ int jbd2_journal_destroy(journal_t *journal) /** - *int jbd2_journal_check_used_features () - Check if features specified are used. + *int jbd2_journal_check_used_features() - Check if features specified are used. * @journal: Journal to check. * @compat: bitmask of compatible features * @ro: bitmask of features that force read-only mount @@ -1825,7 +1825,7 @@ int jbd2_journal_destroy(journal_t *journal) * features. Return true (non-zero) if it does. **/ -int jbd2_journal_check_used_features (journal_t *journal, unsigned long compat, +int jbd2_journal_check_used_features(journal_t *journal, unsigned long compat, unsigned long ro, unsigned long incompat) { journal_superblock_t *sb; @@ -1860,7 +1860,7 @@ int jbd2_journal_check_used_features (journal_t *journal, unsigned long compat, * all of a given set of features on this journal. Return true * (non-zero) if it can. */ -int jbd2_journal_check_available_features (journal_t *journal, unsigned long compat, +int jbd2_journal_check_available_features(journal_t *journal, unsigned long compat, unsigned long ro, unsigned long incompat) { if (!compat && !ro && !incompat) @@ -1882,7 +1882,7 @@ int jbd2_journal_check_available_features (journal_t *journal, unsigned long com } /** - * int jbd2_journal_set_features () - Mark a given journal feature in the superblock + * int jbd2_journal_set_features() - Mark a given journal feature in the superblock * @journal: Journal to act on. * @compat: bitmask of compatible features * @ro: bitmask of features that force read-only mount @@ -1893,7 +1893,7 @@ int jbd2_journal_check_available_features (journal_t *journal, unsigned long com * */ -int jbd2_journal_set_features (journal_t *journal, unsigned long compat, +int jbd2_journal_set_features(journal_t *journal, unsigned long compat, unsigned long ro, unsigned long incompat) { #define INCOMPAT_FEATURE_ON(f) \ -- 1.8.3.1