fs/reiserfs/journal.c: Make remove_journal_hash static
authorBharath Vedartham <linux.bhar@gmail.com>
Sun, 14 Apr 2019 11:24:38 +0000 (16:54 +0530)
committerJan Kara <jack@suse.cz>
Mon, 15 Apr 2019 09:46:17 +0000 (11:46 +0200)
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>
fs/reiserfs/journal.c

index 8a76f9d14bc661c5a6760d7815ac1e97352f8e0c..36346dc4cec0ee5a144c1394850ef4f526885d47 100644 (file)
@@ -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)