diff options
| author | Darrick J. Wong <darrick.wong@oracle.com> | 2014-08-27 18:40:05 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-05 16:36:39 -0700 |
| commit | ec44d1903e186cbecdb40ede0a7f38b47226f7dd (patch) | |
| tree | 2e01f567ea48f51769c119d7318fb88f43d1a626 /include/linux | |
| parent | ee1c1d5a2851faff041338d013174937d0676399 (diff) | |
jbd2: fix infinite loop when recovering corrupt journal blocks
commit 022eaa7517017efe4f6538750c2b59a804dc7df7 upstream.
When recovering the journal, don't fall into an infinite loop if we
encounter a corrupt journal block. Instead, just skip the block and
return an error, which fails the mount and thus forces the user to run
a full filesystem fsck.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
