Commit 5795af2e authored by Theodore Ts'o's avatar Theodore Ts'o Committed by Jiri Slaby

ext4: clarify ext4_error message in ext4_mb_generate_buddy_error()

commit 94d4c066 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: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent f17c60ee
...@@ -751,8 +751,8 @@ void ext4_mb_generate_buddy(struct super_block *sb, ...@@ -751,8 +751,8 @@ void ext4_mb_generate_buddy(struct super_block *sb,
if (free != grp->bb_free) { if (free != grp->bb_free) {
ext4_grp_locked_error(sb, group, 0, 0, ext4_grp_locked_error(sb, group, 0, 0,
"%u clusters in bitmap, %u in gd; " "block bitmap and bg descriptor "
"block bitmap corrupt.", "inconsistent: %u vs %u free clusters",
free, grp->bb_free); free, grp->bb_free);
/* /*
* If we intend to continue, we consider group descriptor * If we intend to continue, we consider group descriptor
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment