OSDN Git Service

e2fsck: check for invalid bad block inode
authorTheodore Ts'o <tytso@mit.edu>
Wed, 28 Sep 2011 19:12:55 +0000 (15:12 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 28 Sep 2011 22:34:33 +0000 (18:34 -0400)
commit96a8afa7c134ef9239a70f264c35e709737f42cd
treea9ae562ae8b7760ac72dc23b0683915c97109b5d
parent20d7949583a7efbf9b93f7e3d47983e10629530e
e2fsck: check for invalid bad block inode

In some cases the bad block inode gets corrupted.  If it looks insane,
offer to clear it before trying to interpret it does more harm than
good.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/pass1.c
e2fsck/problem.c
e2fsck/problem.h
tests/f_invalid_bad_inode/expect.1 [new file with mode: 0644]
tests/f_invalid_bad_inode/expect.2 [new file with mode: 0644]
tests/f_invalid_bad_inode/image.gz [new file with mode: 0644]
tests/f_invalid_bad_inode/name [new file with mode: 0644]