mirror of https://github.com/vitalif/e2fsprogs
Clear dtime field on truncated orphan inodes.
parent
917e875098
commit
eb16f861e9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue