1
0
Fork 0

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>
hifive-unleashed-5.2
Bharath Vedartham 2019-04-14 16:54:38 +05:30 committed by Jan Kara
parent 27942ef503
commit 5d552ad796
1 changed files with 1 additions and 1 deletions

View 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)