aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2014-07-05 19:15:50 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-07-05 19:15:50 -0400
commit94d4c066a4ff170a2671b1a9b153febbf36796f6 (patch)
tree2ae0ca7f018167fcbd790c19252c4a062464ad2e
parentae0f78de2c43b6fadd007c231a352b13b5be8ed2 (diff)
ext4: clarify ext4_error message in ext4_mb_generate_buddy_error()
We are spending a lot of time explaining to users what this error means. Let's try to improve the message to avoid this problem. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org
-rw-r--r--fs/ext4/mballoc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 7f72f50a8fa7..2dcb936be90e 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -752,8 +752,8 @@ void ext4_mb_generate_buddy(struct super_block *sb,
752 752
753 if (free != grp->bb_free) { 753 if (free != grp->bb_free) {
754 ext4_grp_locked_error(sb, group, 0, 0, 754 ext4_grp_locked_error(sb, group, 0, 0,
755 "%u clusters in bitmap, %u in gd; " 755 "block bitmap and bg descriptor "
756 "block bitmap corrupt.", 756 "inconsistent: %u vs %u free clusters",
757 free, grp->bb_free); 757 free, grp->bb_free);
758 /* 758 /*
759 * If we intend to continue, we consider group descriptor 759 * If we intend to continue, we consider group descriptor