• Jan Kara's avatar
    udf: Use time64_to_tm for timestamp conversion · 3c399fa4
    Jan Kara authored
    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: default avatarJan Kara <jack@suse.cz>
    3c399fa4
udftime.c 5.22 KB