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/fstree/fstree_from_file.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/fstree/fstree_from_file.c') diff --git a/lib/fstree/fstree_from_file.c b/lib/fstree/fstree_from_file.c index 74d79ae..46926ee 100644 --- a/lib/fstree/fstree_from_file.c +++ b/lib/fstree/fstree_from_file.c @@ -125,8 +125,6 @@ static int handle_line(fstree_t *fs, const char *filename, memset(&sb, 0, sizeof(sb)); sb.st_mtime = fs->defaults.st_mtime; - sb.st_atime = fs->defaults.st_atime; - sb.st_ctime = fs->defaults.st_ctime; /* isolate keyword */ for (i = 0; isalpha(line[i]); ++i) -- cgit v1.2.3