summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorRitesh Harjani <riteshh@linux.ibm.com>2020-05-10 11:54:41 +0530
committerTheodore Ts'o <tytso@mit.edu>2020-06-03 23:16:51 -0400
commit212da3ec6fafe458cd54c3a365cbcb4f9bd794e1 (patch)
treea2524a4e785509478313166d186b1a3c6cba1f4e /fs/ext4
parent73c384c0cdaa8ea9ca9ef2d0cff6a25930f1648e (diff)
downloadlinux-stable-212da3ec6fafe458cd54c3a365cbcb4f9bd794e1.tar.gz
linux-stable-212da3ec6fafe458cd54c3a365cbcb4f9bd794e1.tar.bz2
linux-stable-212da3ec6fafe458cd54c3a365cbcb4f9bd794e1.zip
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>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/mballoc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 30d5d97548c4..bcfaaad62167 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -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);
}