Clear dtime field on truncated orphan inodes.

bitmap-optimize
Stephen Tweedie 2002-08-14 11:00:44 +01:00
parent 917e875098
commit eb16f861e9
1 changed files with 2 additions and 0 deletions

View File

@ -290,6 +290,8 @@ static int release_orphan_inodes(e2fsck_t ctx)
fs->group_desc[group].bg_used_dirs_count--;
inode.i_dtime = time(0);
} else {
inode.i_dtime = 0;
}
e2fsck_write_inode(ctx, ino, &inode, "delete_file");
ino = next_ino;