aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-05-30 23:00:16 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-09 11:33:04 -0400
commit801bdd926b6229da233f6db25770c9e817f98d4e (patch)
treeb61672d20e9b47affd7487e7ed68f6352c15d916
parente36db7f818de59e3b0fdeaabda97e696a177b9a9 (diff)
ext4: add missing save_error_info() to ext4_error()
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 <ksumrall@google.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: ksumrall@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--fs/ext4/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index be6c0ccd822..113b1076844 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -433,6 +433,7 @@ void __ext4_error(struct super_block *sb, const char *function,
433 printk(KERN_CRIT "EXT4-fs error (device %s): %s:%d: comm %s: %pV\n", 433 printk(KERN_CRIT "EXT4-fs error (device %s): %s:%d: comm %s: %pV\n",
434 sb->s_id, function, line, current->comm, &vaf); 434 sb->s_id, function, line, current->comm, &vaf);
435 va_end(args); 435 va_end(args);
436 save_error_info(sb, function, line);
436 437
437 ext4_handle_error(sb); 438 ext4_handle_error(sb);
438} 439}