Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bharath Vedartham and committed by
Jan Kara
5d552ad7 27942ef5

+1 -1
+1 -1
fs/reiserfs/journal.c
··· 1844 1844 * removes any nodes in table with name block and dev as bh. 1845 1845 * only touchs the hnext and hprev pointers. 1846 1846 */ 1847 - void remove_journal_hash(struct super_block *sb, 1847 + static void remove_journal_hash(struct super_block *sb, 1848 1848 struct reiserfs_journal_cnode **table, 1849 1849 struct reiserfs_journal_list *jl, 1850 1850 unsigned long block, int remove_freed)