[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191227163646.t3yxpunwz5cmy32v@4978f4969bb8>
Date: Sat, 28 Dec 2019 00:36:46 +0800
From: kbuild test robot <lkp@...el.com>
To: Harshad Shirwadkar <harshadshirwadkar@...il.com>
Cc: kbuild-all@...ts.01.org, linux-ext4@...r.kernel.org,
Harshad Shirwadkar <harshadshirwadkar@...il.com>
Subject: [RFC PATCH] ext4: submit_fc_bh() can be static
Fixes: 6ae30577ea12 ("ext4: main commit routine for fast commits")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
ext4_jbd2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ext4/ext4_jbd2.c b/fs/ext4/ext4_jbd2.c
index f371f1f0f9148..05d5bfa0f355e 100644
--- a/fs/ext4/ext4_jbd2.c
+++ b/fs/ext4/ext4_jbd2.c
@@ -822,7 +822,7 @@ static int fc_write_data(struct inode *inode, u8 *start, u8 *end,
return num_tlvs;
}
-void submit_fc_bh(struct buffer_head *bh)
+static void submit_fc_bh(struct buffer_head *bh)
{
lock_buffer(bh);
clear_buffer_dirty(bh);
@@ -1153,7 +1153,7 @@ static void ext4_journal_fc_cleanup_cb(journal_t *journal)
trace_ext4_journal_fc_stats(sb);
}
-int ext4_fc_perform_hard_commit(journal_t *journal)
+static int ext4_fc_perform_hard_commit(journal_t *journal)
{
struct super_block *sb = (struct super_block *)(journal->j_private);
struct ext4_sb_info *sbi = EXT4_SB(sb);
Powered by blists - more mailing lists