mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
ext4: mballoc: print bb_free info even when it is 0
Improve the debugging msg by also printing even if bb_free is 0. Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com> Link: https://lore.kernel.org/r/c894f1d1d30f86ae38f4e3a861949665b6dc61cd.1589086800.git.riteshh@linux.ibm.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
73c384c0cd
commit
212da3ec6f
@ -4170,8 +4170,6 @@ static void ext4_mb_show_ac(struct ext4_allocation_context *ac)
|
||||
}
|
||||
ext4_unlock_group(sb, i);
|
||||
|
||||
if (grp->bb_free == 0)
|
||||
continue;
|
||||
printk(KERN_ERR "%u: %d/%d \n",
|
||||
i, grp->bb_free, grp->bb_fragments);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user