diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-03 10:40:28 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-03 10:40:46 +0200 |
commit | 0576557fa9e53b0b349aba0d1271a69356fe5f58 (patch) | |
tree | 7d64deb3cec517d109661e188ee98719a2a35d8e /lib/fstree/fstree_from_dir.c | |
parent | f619c555206aa45d1d74fa7f8480145326f11039 (diff) |
cleanup: remove left over atime/ctime code
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
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); |