This is a note to let you know that I've just added the patch titled

    ext4: clarify ext4_error message in ext4_mb_generate_buddy_error()

to the 3.15-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     ext4-clarify-ext4_error-message-in-ext4_mb_generate_buddy_error.patch
and it can be found in the queue-3.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 94d4c066a4ff170a2671b1a9b153febbf36796f6 Mon Sep 17 00:00:00 2001
From: Theodore Ts'o <[email protected]>
Date: Sat, 5 Jul 2014 19:15:50 -0400
Subject: ext4: clarify ext4_error message in ext4_mb_generate_buddy_error()

From: Theodore Ts'o <[email protected]>

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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 fs/ext4/mballoc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -751,8 +751,8 @@ void ext4_mb_generate_buddy(struct super
 
        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


Patches currently in stable-queue which might be from [email protected] are

queue-3.15/ext4-fix-a-potential-deadlock-in-__ext4_es_shrink.patch
queue-3.15/ext4-disable-synchronous-transaction-batching-if-max_batch_time-0.patch
queue-3.15/ext4-fix-unjournalled-bg-descriptor-while-initializing-inode-bitmap.patch
queue-3.15/ext4-clarify-ext4_error-message-in-ext4_mb_generate_buddy_error.patch
queue-3.15/ext4-revert-commit-which-was-causing-fs-corruption-after-journal-replays.patch
queue-3.15/ext4-clarify-error-count-warning-messages.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to