Skip to content

Commit

Permalink
jbd2: fix incorrect code style
Browse files Browse the repository at this point in the history
Remove unnecessary blank.

Signed-off-by: Xianting Tian <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
  • Loading branch information
Xianting Tian authored and tytso committed Aug 7, 2020
1 parent 3d392b2 commit 60ed633
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fs/jbd2/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -1817,7 +1817,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
Expand All @@ -1827,7 +1827,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;
Expand Down Expand Up @@ -1862,7 +1862,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)
Expand All @@ -1884,7 +1884,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
Expand All @@ -1895,7 +1895,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) \
Expand Down

0 comments on commit 60ed633

Please sign in to comment.