ext3/balloc.c: local functions should be static
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 23 Sep 2011 20:55:52 +0000 (13:55 -0700)
committerJan Kara <jack@suse.cz>
Tue, 4 Oct 2011 23:29:22 +0000 (01:29 +0200)
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>
fs/ext3/balloc.c

index caedc00520ed56da78af985854450901a1f0fba9..a7fceaba87f1e43c88933883ae3578a9f672c06b 100644 (file)
@@ -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
  * 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,
-                               ext3_grpblk_t start, ext3_grpblk_t max,
-                               ext3_grpblk_t minblocks)
+static ext3_grpblk_t ext3_trim_all_free(struct super_block *sb,
+                                       unsigned int group,
+                                       ext3_grpblk_t start, ext3_grpblk_t max,
+                                       ext3_grpblk_t minblocks)
 {
        handle_t *handle;
        ext3_grpblk_t next, free_blocks, bit, freed, count = 0;
This page took 0.025262 seconds and 5 git commands to generate.