OSDN Git Service

ext4: add missing save_error_info() to ext4_error()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 31 May 2012 03:00:16 +0000 (23:00 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:33:04 +0000 (00:33 +0900)
commit801bdd926b6229da233f6db25770c9e817f98d4e
treeb61672d20e9b47affd7487e7ed68f6352c15d916
parente36db7f818de59e3b0fdeaabda97e696a177b9a9
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>
fs/ext4/super.c