summaryrefslogtreecommitdiff
path: root/ext4_utils/ext4_utils.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2013-12-05 15:51:28 -0800
committerDoug Zongker <dougz@android.com>2013-12-06 09:56:21 -0800
commit9526680de97e2bc963a70d1fabffe165a688bb1e (patch)
tree4a0e4f9d7e7b2a7317da26529c3c619114e669dc /ext4_utils/ext4_utils.h
parent1fadf4f9a32eb961401ee86786b6ce687a0e67c8 (diff)
downloadextras-9526680de97e2bc963a70d1fabffe165a688bb1e.tar.gz
allow fixing timestamps when building ext4 filesystem
When building an image, make_ext4fs currently sets the timestamps in the image to the timestamps of the source files. Allow this time to be overridden with a fixed value provided on the command line, to make it easier to reproduce bit-identical images from a target_files zip. Change-Id: I52ddab4575a334ee52404f4d5d1c61b55513c618
Diffstat (limited to 'ext4_utils/ext4_utils.h')
-rw-r--r--ext4_utils/ext4_utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext4_utils/ext4_utils.h b/ext4_utils/ext4_utils.h
index 083aff56..1e13a90c 100644
--- a/ext4_utils/ext4_utils.h
+++ b/ext4_utils/ext4_utils.h
@@ -172,14 +172,14 @@ void ext4_parse_sb(struct ext4_super_block *sb);
u16 ext4_crc16(u16 crc_in, const void *buf, int size);
typedef void (*fs_config_func_t)(const char *path, int dir, unsigned *uid, unsigned *gid,
- unsigned *mode, uint64_t *capabilities);
+ unsigned *mode, uint64_t *capabilities);
struct selabel_handle;
int make_ext4fs_internal(int fd, const char *directory,
- const char *mountpoint, fs_config_func_t fs_config_func, int gzip,
- int sparse, int crc, int wipe,
- struct selabel_handle *sehnd, int verbose);
+ const char *mountpoint, fs_config_func_t fs_config_func, int gzip,
+ int sparse, int crc, int wipe,
+ struct selabel_handle *sehnd, int verbose, time_t fixed_time);
#ifdef __cplusplus
}