aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-05-30 23:00:16 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-05-30 23:00:16 -0400
commitf3fc0210c0fc91900766c995f089c39170e68305 (patch)
treee3f3f032ee2ee9c668d2e9f5db3c86ad288d9b90 /fs/ext4
parentext4: add debugging trigger for ext4_error() (diff)
downloadlinux-dev-f3fc0210c0fc91900766c995f089c39170e68305.tar.xz
linux-dev-f3fc0210c0fc91900766c995f089c39170e68305.zip
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. Reported-by: Ken Sumrall <ksumrall@google.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: ksumrall@google.com Cc: stable@kernel.org
Diffstat (limited to 'fs/ext4')
-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 9f1ae6b36502..b8d5fc10d8c0 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -539,6 +539,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);
}