Commit 5d552ad7 authored by Bharath Vedartham's avatar Bharath Vedartham Committed by Jan Kara

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: default avatarBharath Vedartham <linux.bhar@gmail.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 27942ef5
...@@ -1844,7 +1844,7 @@ static int flush_used_journal_lists(struct super_block *s, ...@@ -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. * removes any nodes in table with name block and dev as bh.
* only touchs the hnext and hprev pointers. * 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_cnode **table,
struct reiserfs_journal_list *jl, struct reiserfs_journal_list *jl,
unsigned long block, int remove_freed) unsigned long block, int remove_freed)
......
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