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

    ext4: add missing save_error_info() to ext4_error()

to the 3.0-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-add-missing-save_error_info-to-ext4_error.patch
and it can be found in the queue-3.0 subdirectory.

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


>From f3fc0210c0fc91900766c995f089c39170e68305 Mon Sep 17 00:00:00 2001
From: Theodore Ts'o <[email protected]>
Date: Wed, 30 May 2012 23:00:16 -0400
Subject: ext4: add missing save_error_info() to ext4_error()

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

commit f3fc0210c0fc91900766c995f089c39170e68305 upstream.

The ext4_error() function is missing a call to save_error_info().
Since this is the function which marks the file system as containing
an error, this oversight (which was introduced in 2.6.36) is quite
significant, and should be backported to older stable kernels with
high urgency.

Reported-by: Ken Sumrall <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 fs/ext4/super.c |    1 +
 1 file changed, 1 insertion(+)

--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -433,6 +433,7 @@ void __ext4_error(struct super_block *sb
        printk(KERN_CRIT "EXT4-fs error (device %s): %s:%d: comm %s: %pV\n",
               sb->s_id, function, line, current->comm, &vaf);
        va_end(args);
+       save_error_info(sb, function, line);
 
        ext4_handle_error(sb);
 }


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

queue-3.0/ext4-add-ext4_mb_unload_buddy-in-the-error-path.patch
queue-3.0/ext4-force-ro-mount-if-ext4_setup_super-fails.patch
queue-3.0/ext4-remove-mb_groups-before-tearing-down-the-buddy_cache.patch
queue-3.0/ext4-add-missing-save_error_info-to-ext4_error.patch
queue-3.0/ext4-don-t-trash-state-flags-in-ext4_ioc_setflags.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