From 30fbd496a1793b4374873144432f9b7a996a689d Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 24 Jul 2019 12:35:35 +0200 Subject: cleanup: remove atime/ctime processing code This commit removes all the code for parsing and processing atime/ctime and values and related test code. Caring about those is kind of pointless because squashfs can only store mtime in inodes. The only relevant place is when generating a struct stat from a squashfs inode or an fstree node. Signed-off-by: David Oberhollenzer --- tar/tar2sqfs.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tar') diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c index 03ae811..625cec6 100644 --- a/tar/tar2sqfs.c +++ b/tar/tar2sqfs.c @@ -245,8 +245,6 @@ static int create_node_and_repack_data(tar_header_decoded_t *hdr, fstree_t *fs, if (!keep_time) { hdr->sb.st_mtime = fs->defaults.st_mtime; - hdr->sb.st_ctime = fs->defaults.st_ctime; - hdr->sb.st_atime = fs->defaults.st_atime; } node = fstree_add_generic(fs, hdr->name, &hdr->sb, hdr->link_target); -- cgit v1.2.3