mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-24 18:43:53 +08:00
ChangeLog, pass2.c:
pass2.c (check_dir_block): Ignore EXT2_ET_DIR_CORRUPTED errors from ext2fs_read_dir_block().
This commit is contained in:
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
Block a user