mirror of https://github.com/vitalif/e2fsprogs
ChangeLog, pass2.c:
pass2.c (check_dir_block): Ignore EXT2_ET_DIR_CORRUPTED errors from ext2fs_read_dir_block().bitmap-optimize
parent
1cca4d6036
commit
b9852cd87b
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue