Commit 60ed633f authored by Xianting Tian's avatar Xianting Tian Committed by Theodore Ts'o

jbd2: fix incorrect code style

Remove unnecessary blank.
Signed-off-by: default avatarXianting Tian <xianting_tian@126.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/1595077057-8048-1-git-send-email-xianting_tian@126.comSigned-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 3d392b26
...@@ -1285,7 +1285,7 @@ journal_t *jbd2_journal_init_inode(struct inode *inode) ...@@ -1285,7 +1285,7 @@ journal_t *jbd2_journal_init_inode(struct inode *inode)
* superblock as being NULL to prevent the journal destroy from writing * superblock as being NULL to prevent the journal destroy from writing
* back a bogus superblock. * 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; struct buffer_head *bh = journal->j_sb_buffer;
brelse(bh); brelse(bh);
...@@ -1817,7 +1817,7 @@ int jbd2_journal_destroy(journal_t *journal) ...@@ -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. * @journal: Journal to check.
* @compat: bitmask of compatible features * @compat: bitmask of compatible features
* @ro: bitmask of features that force read-only mount * @ro: bitmask of features that force read-only mount
...@@ -1827,7 +1827,7 @@ int jbd2_journal_destroy(journal_t *journal) ...@@ -1827,7 +1827,7 @@ int jbd2_journal_destroy(journal_t *journal)
* features. Return true (non-zero) if it does. * 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) unsigned long ro, unsigned long incompat)
{ {
journal_superblock_t *sb; journal_superblock_t *sb;
...@@ -1862,7 +1862,7 @@ int jbd2_journal_check_used_features (journal_t *journal, unsigned long compat, ...@@ -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 * all of a given set of features on this journal. Return true
* (non-zero) if it can. */ * (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) unsigned long ro, unsigned long incompat)
{ {
if (!compat && !ro && !incompat) if (!compat && !ro && !incompat)
...@@ -1884,7 +1884,7 @@ int jbd2_journal_check_available_features (journal_t *journal, unsigned long com ...@@ -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. * @journal: Journal to act on.
* @compat: bitmask of compatible features * @compat: bitmask of compatible features
* @ro: bitmask of features that force read-only mount * @ro: bitmask of features that force read-only mount
...@@ -1895,7 +1895,7 @@ int jbd2_journal_check_available_features (journal_t *journal, unsigned long com ...@@ -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) unsigned long ro, unsigned long incompat)
{ {
#define INCOMPAT_FEATURE_ON(f) \ #define INCOMPAT_FEATURE_ON(f) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment