575307cc63d24766ff789262a5cea7b4faf2fa13 |
|
09-Jul-2007 |
Kalpak Shah <kalpak@clusterfs.com> |
e2fsck: Fix salvage_directory when the last entry's rec_len is too big Recently, one of our customers found this message in pass2 of e2fsck while doing some regression testing: "Entry '4, 0x695a, 0x81ff, 0x0040, 0x8320, 0xa192, 0x0021' in ??? (136554) has rec_len of 14200, should be 26908." Both the displayed rec_len and the "should be" value are bogus. The reason is that salvage_directory sets a offset beyond blocksize leading to bogus messages. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/tests/f_baddir2/image.gz
|