ChangeLog, pass2.c:

pass2.c (check_dir_block): Ignore EXT2_ET_DIR_CORRUPTED errors from
  	ext2fs_read_dir_block().
bitmap-optimize
Theodore Ts'o 2001-05-05 05:14:59 +00:00
parent 1cca4d6036
commit b9852cd87b
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-05-05 Theodore Tso <tytso@valinux.com>
* pass2.c (check_dir_block): Ignore EXT2_ET_DIR_CORRUPTED errors
from ext2fs_read_dir_block().
2001-05-01 Theodore Tso <tytso@valinux.com>
* unix.c (PRS): Validate the completion information file

View File

@ -383,6 +383,8 @@ static int check_dir_block(ext2_filsys fs,
#endif
cd->pctx.errcode = ext2fs_read_dir_block(fs, block_nr, buf);
if (cd->pctx.errcode == EXT2_ET_DIR_CORRUPTED)
cd->pctx.errcode = 0; /* We'll handle this ourselves */
if (cd->pctx.errcode) {
if (!fix_problem(ctx, PR_2_READ_DIRBLOCK, &cd->pctx)) {
ctx->flags |= E2F_FLAG_ABORT;