From 61659c32f518a4616da70a7192bd9b7438cd1564 Mon Sep 17 00:00:00 2001 From: Robin Dong Date: Wed, 26 Oct 2011 05:29:21 -0400 Subject: [PATCH] --- yaml --- r: 273159 b: refs/heads/master c: 66a83cde47deb4e8874539326e12e88ed82158d3 h: refs/heads/master i: 273157: 44f4cc9c2e593819435720b36023d71e7b69944d 273155: 31695e123c373e7171c57d54b6063d2b1b4d234b 273151: 0c2669f67742e981f13947241fe644836c0d4f74 v: v3 --- [refs] | 2 +- trunk/fs/ext4/mballoc.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 640c36d375e6..74a3a6f63170 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ebbe027797f67d34708ccfabdb129886d549f9ce +refs/heads/master: 66a83cde47deb4e8874539326e12e88ed82158d3 diff --git a/trunk/fs/ext4/mballoc.c b/trunk/fs/ext4/mballoc.c index 89762652aae2..c66531d800b1 100644 --- a/trunk/fs/ext4/mballoc.c +++ b/trunk/fs/ext4/mballoc.c @@ -3345,7 +3345,6 @@ void ext4_mb_generate_from_pa(struct super_block *sb, void *bitmap, ext4_group_t groupnr; ext4_grpblk_t start; int preallocated = 0; - int count = 0; int len; /* all form of preallocation discards first load group, @@ -3368,7 +3367,6 @@ void ext4_mb_generate_from_pa(struct super_block *sb, void *bitmap, BUG_ON(groupnr != group); ext4_set_bits(bitmap, start, len); preallocated += len; - count++; } mb_debug(1, "prellocated %u for group %u\n", preallocated, group); }