From e4f2cbb2f0792abdb14ede8f47310e477e999ff6 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Fri, 23 Sep 2011 13:55:52 -0700 Subject: [PATCH] --- yaml --- r: 273076 b: refs/heads/master c: 3ee77f2091c229a72c64d9aeef1ee4a7624e5795 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ext3/balloc.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index ed6298232fcd..96b877754555 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f32948ddd1179ac0b105ceacc235cfc3f98ebea3 +refs/heads/master: 3ee77f2091c229a72c64d9aeef1ee4a7624e5795 diff --git a/trunk/fs/ext3/balloc.c b/trunk/fs/ext3/balloc.c index caedc00520ed..a7fceaba87f1 100644 --- a/trunk/fs/ext3/balloc.c +++ b/trunk/fs/ext3/balloc.c @@ -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;