commit | 3c399fa40fd13c5749386695e71f5f747a634f21 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Wed Jun 14 09:51:20 2017 +0200 |
committer | Jan Kara <jack@suse.cz> | Wed Jun 14 11:21:02 2017 +0200 |
tree | e0c45b2c241eb8f3e6c4df347f172a54c175455e | |
parent | f2e95355891153f66d4156bf3a142c6489cd78c6 [diff] |
udf: Use time64_to_tm for timestamp conversion UDF on-disk time stamp is stored in a form very similar to struct tm. Use time64_to_tm() for conversion of seconds since epoch to year, month, ... format and then just copy this as necessary to UDF on-disk structure to simplify the code. Signed-off-by: Jan Kara <jack@suse.cz>