[PATCH] ext4: change the debug description in ext4_mb_cleanup_pa

From: Wang Sheng-Hui
Date: Mon Aug 20 2012 - 04:07:54 EST


The count records the PAs freed, not left.
Change the debug description.

Signed-off-by: Wang Sheng-Hui <shhuiw@xxxxxxxxx>
---
fs/ext4/mballoc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 8eae947..f83b145 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -2510,7 +2510,7 @@ static void ext4_mb_cleanup_pa(struct ext4_group_info *grp)
kmem_cache_free(ext4_pspace_cachep, pa);
}
if (count)
- mb_debug(1, "mballoc: %u PAs left\n", count);
+ mb_debug(1, "mballoc: %u PAs freed\n", count);

}

--
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/