diff options
Diffstat (limited to 'lib/fstree/fstree_from_dir.c')
-rw-r--r-- | lib/fstree/fstree_from_dir.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/fstree/fstree_from_dir.c b/lib/fstree/fstree_from_dir.c index 494b644..9066809 100644 --- a/lib/fstree/fstree_from_dir.c +++ b/lib/fstree/fstree_from_dir.c @@ -99,11 +99,8 @@ static int populate_dir(fstree_t *fs, tree_node_t *root, bool keep_time_stamps) goto fail; } - if (!keep_time_stamps) { - sb.st_atim = fs->defaults.st_atim; + if (!keep_time_stamps) sb.st_mtim = fs->defaults.st_mtim; - sb.st_ctim = fs->defaults.st_ctim; - } n = fstree_mknode(fs, root, ent->d_name, strlen(ent->d_name), extra, &sb); |