diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index a4ae38a0..86230631 100644 --- a/e2fsck/pass1.c +++ b/e2fsck/pass1.c @@ -512,8 +512,8 @@ static void check_inode_extra_space(e2fsck_t ctx, struct problem_context *pctx) * If the inode's extended atime (ctime, crtime, mtime) is stored in * the old, invalid format, repair it. */ - if (((sizeof(time_t) <= 4) || - ((sizeof(time_t) > 4) && + if ((sizeof(time_t) <= 4) || + (((sizeof(time_t) > 4) && ctx->now < EXT4_EXTRA_NEGATIVE_DATE_CUTOFF)) && (CHECK_INODE_EXTRA_NEGATIVE_EPOCH(inode, atime) || CHECK_INODE_EXTRA_NEGATIVE_EPOCH(inode, ctime) ||