Skip to contentSkip to conversation

ext4: change the debug description in ext4_mb_cleanup_pa

PATCH New Wang Sheng-Hui 1 participant 1 message Aug 20, 2012 ext4 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ext4: change the debug description in ext4_mb_cleanup_pa

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

---
 fs/ext4/mballoc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/ext4/mballoc.c +1 -1
index 8eae947..f83b145 100644
@@ -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);
 
 }
 
Signature · 1 line
1.7.1