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 --- lib/sqfs/deserialize_fstree.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/sqfs') diff --git a/lib/sqfs/deserialize_fstree.c b/lib/sqfs/deserialize_fstree.c index 98444ac..8ed6314 100644 --- a/lib/sqfs/deserialize_fstree.c +++ b/lib/sqfs/deserialize_fstree.c @@ -168,8 +168,6 @@ int deserialize_fstree(fstree_t *out, sqfs_super_t *super, compressor_t *cmp, out->defaults.st_gid = 0; out->defaults.st_mode = 0755; out->defaults.st_mtime = super->modification_time; - out->defaults.st_ctime = super->modification_time; - out->defaults.st_atime = super->modification_time; out->root = tree_node_from_inode(root, &idtbl, "", super->block_size); free(root); -- cgit v1.2.3