summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/journal.c
diff options
context:
space:
mode:
authorBharath Vedartham <linux.bhar@gmail.com>2019-04-14 13:24:38 +0200
committerJan Kara <jack@suse.cz>2019-04-15 11:46:17 +0200
commit5d552ad79630d41ca065457e22a20ae2db5b2441 (patch)
treeb1831371c2945e4ceccb41ecbcf20f61ae380301 /fs/reiserfs/journal.c
parentquota: remove trailing whitespaces (diff)
downloadlinux-5d552ad79630d41ca065457e22a20ae2db5b2441.tar.xz
linux-5d552ad79630d41ca065457e22a20ae2db5b2441.zip
fs/reiserfs/journal.c: Make remove_journal_hash static
This fixes the -WDecl sparse warning in journal.c. Function was declared as static void but the definition was void. Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/reiserfs/journal.c')
-rw-r--r--fs/reiserfs/journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c
index 8a76f9d14bc6..36346dc4cec0 100644
--- a/fs/reiserfs/journal.c
+++ b/fs/reiserfs/journal.c
@@ -1844,7 +1844,7 @@ static int flush_used_journal_lists(struct super_block *s,
* removes any nodes in table with name block and dev as bh.
* only touchs the hnext and hprev pointers.
*/
-void remove_journal_hash(struct super_block *sb,
+static void remove_journal_hash(struct super_block *sb,
struct reiserfs_journal_cnode **table,
struct reiserfs_journal_list *jl,
unsigned long block, int remove_freed)