Whamcloud - gitweb
e2fsck: Check the all of journal blocks for validity
authorTheodore Ts'o <tytso@mit.edu>
Thu, 21 Jun 2007 15:59:06 +0000 (11:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 21 Jun 2007 15:59:06 +0000 (11:59 -0400)
commit051afbe0d7f49429c26d2a7a33f1f3857d07c3d0
treeaa897d1dc6bdd190952af66e8d80e39043911f6e
parentded28ac2ab67300f39783184a8f8930b548fc5f0
e2fsck: Check the all of journal blocks for validity

The original code only checked the direct blocks to make sure the
journal inode was sane.  Unfortunately, if some or all of the indirect
or doubly indirect blocks were corrupted, this would not be caught.
Thanks to Andreas Dilger and Kalpak Shah for noticing this problem.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/journal.c