pass1.c (e2fsck_pass1): If the superblock last mount time (not

just the last write time) looks insane, then assume that
	we can't do the LOW_DTIME checks.
bitmap-optimize
Theodore Ts'o 2005-04-06 14:55:53 -04:00
parent 762c7c6510
commit 4147d9f029
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-04-06 Theodore Ts'o <tytso@mit.edu>
* pass1.c (e2fsck_pass1): If the superblock last mount time (not
just the last write time) looks insane, then assume that
we can't do the LOW_DTIME checks.
2005-03-21 Theodore Ts'o <tytso@mit.edu>
* Release of E2fsprogs 1.37

View File

@ -518,7 +518,8 @@ void e2fsck_pass1(e2fsck_t ctx)
if (ctx->progress)
if ((ctx->progress)(ctx, 1, 0, ctx->fs->group_desc_count))
return;
if (fs->super->s_wtime < fs->super->s_inodes_count)
if ((fs->super->s_wtime < fs->super->s_inodes_count) ||
(fs->super->s_mtime < fs->super->s_inodes_count))
busted_fs_time = 1;
while (1) {