diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-05-30 23:03:56 -0400 |
---|---|---|
committer | Ken Sumrall <ksumrall@android.com> | 2012-06-08 11:57:30 -0700 |
commit | 9d8a0e5b42c03e2dc8dffc7eebff45ec6665fdf1 (patch) | |
tree | ea27b65a7ceb1bc292a4f1b495739878c527e72b /fs | |
parent | bc6f92e9cc0842cf7dbafa64fced3285a2e0a524 (diff) | |
download | kernel_samsung_aries-9d8a0e5b42c03e2dc8dffc7eebff45ec6665fdf1.zip kernel_samsung_aries-9d8a0e5b42c03e2dc8dffc7eebff45ec6665fdf1.tar.gz kernel_samsung_aries-9d8a0e5b42c03e2dc8dffc7eebff45ec6665fdf1.tar.bz2 |
ext4: add missing save_error_info() to ext4_error()
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.
Change-Id: Ia1eb8d91f37ceb67faf3b79d6bc79b899f1d6bfc
Reported-by: Ken Sumrall <ksumrall@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: ksumrall@google.com
Cc: stable@kernel.org
Signed-off-by: Ken Sumrall <ksumrall@android.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index df121b2..63fe3ca 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, 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); } |