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

ext3/balloc.c: local functions should be static

This quites the sparse noise:

warning: symbol 'ext3_trim_all_free' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Signed-off-by: Jan Kara <jack@suse.cz>

authored by

H Hartley Sweeten and committed by
Jan Kara
3ee77f20 f32948dd

+4 -3
+4 -3
fs/ext3/balloc.c
··· 1924 1924 * reaches any used block. Then issue a TRIM command on this extent and free 1925 1925 * the extent in the block bitmap. This is done until whole group is scanned. 1926 1926 */ 1927 - ext3_grpblk_t ext3_trim_all_free(struct super_block *sb, unsigned int group, 1928 - ext3_grpblk_t start, ext3_grpblk_t max, 1929 - ext3_grpblk_t minblocks) 1927 + static ext3_grpblk_t ext3_trim_all_free(struct super_block *sb, 1928 + unsigned int group, 1929 + ext3_grpblk_t start, ext3_grpblk_t max, 1930 + ext3_grpblk_t minblocks) 1930 1931 { 1931 1932 handle_t *handle; 1932 1933 ext3_grpblk_t next, free_blocks, bit, freed, count = 0;