diff options
| author | Darrick J. Wong <darrick.wong@oracle.com> | 2014-08-27 18:40:05 -0400 |
|---|---|---|
| committer | Jiri Slaby <jslaby@suse.cz> | 2014-09-17 15:12:21 +0200 |
| commit | 9a8bd0aadcc9ba76c897696df51300a77d32f109 (patch) | |
| tree | f2a47b35050a7e108623f8fcf37945b5c16500f0 /include/linux | |
| parent | 978945187b6a4a6fdb0e9e1ed48fda1895d6eb3a (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: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
