Commit 3ee77f20 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Jan Kara

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: default avatarH 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: default avatarJan Kara <jack@suse.cz>
parent f32948dd
...@@ -1924,9 +1924,10 @@ unsigned long ext3_bg_num_gdb(struct super_block *sb, int group) ...@@ -1924,9 +1924,10 @@ unsigned long ext3_bg_num_gdb(struct super_block *sb, int group)
* reaches any used block. Then issue a TRIM command on this extent and free * reaches any used block. Then issue a TRIM command on this extent and free
* the extent in the block bitmap. This is done until whole group is scanned. * the extent in the block bitmap. This is done until whole group is scanned.
*/ */
ext3_grpblk_t ext3_trim_all_free(struct super_block *sb, unsigned int group, static ext3_grpblk_t ext3_trim_all_free(struct super_block *sb,
ext3_grpblk_t start, ext3_grpblk_t max, unsigned int group,
ext3_grpblk_t minblocks) ext3_grpblk_t start, ext3_grpblk_t max,
ext3_grpblk_t minblocks)
{ {
handle_t *handle; handle_t *handle;
ext3_grpblk_t next, free_blocks, bit, freed, count = 0; ext3_grpblk_t next, free_blocks, bit, freed, count = 0;
......
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