summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2014-07-05 19:15:50 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-17 16:21:05 -0700
commit97f8c84c85d0364503849bf65eec57cc81174589 (patch)
tree15aa4acf7d78e584df09a03a7750b6324a5f3c4f
parentf1138989d90d7e51096aab26f630d9035cbb06a3 (diff)
downloadrenesas_kernel-97f8c84c85d0364503849bf65eec57cc81174589.tar.gz
renesas_kernel-97f8c84c85d0364503849bf65eec57cc81174589.tar.bz2
renesas_kernel-97f8c84c85d0364503849bf65eec57cc81174589.zip
ext4: clarify ext4_error message in ext4_mb_generate_buddy_error()
commit 94d4c066a4ff170a2671b1a9b153febbf36796f6 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 08ddfdac955..502f0fd7147 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -751,8 +751,8 @@ void ext4_mb_generate_buddy(struct super_block *sb,
if (free != grp->bb_free) {
ext4_grp_locked_error(sb, group, 0, 0,
- "%u clusters in bitmap, %u in gd; "
- "block bitmap corrupt.",
+ "block bitmap and bg descriptor "
+ "inconsistent: %u vs %u free clusters",
free, grp->bb_free);
/*
* If we intend to continue, we consider group descriptor