Whamcloud - gitweb
e2fsck: fix infinite loop when recovering corrupt journal blocks
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 27 Aug 2014 03:44:04 +0000 (23:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 27 Aug 2014 03:45:11 +0000 (23:45 -0400)
commitbf93a9685ea71db0a519e1df07c3ed850933034d
treeb67557dbd0c7577831864943d927663c0141e360
parent97f168b67eb1d0b46ec08bf2751313604e67fc16
e2fsck: fix infinite loop when recovering corrupt journal blocks

When recovering the journal, don't fall into an infinite loop if we
encounter a corrupt journal block.  Instead, just skip the block and
proceed with the full filesystem fsck.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/recovery.c