]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
udf: Convert udf_disk_stamp_to_time() to use mktime64()
authorJan Kara <jack@suse.cz>
Wed, 14 Jun 2017 08:42:48 +0000 (10:42 +0200)
committerJan Kara <jack@suse.cz>
Wed, 14 Jun 2017 09:21:02 +0000 (11:21 +0200)
commitfd3cfad374d452ebe0a2f87f37c2ceeea7e0d134
treecc7dbd6d9baf3769c3f84eab4790db7084d7d53b
parent3c399fa40fd13c5749386695e71f5f747a634f21
udf: Convert udf_disk_stamp_to_time() to use mktime64()

Convert udf_disk_stamp_to_time() to use mktime64() to simplify the code.
As a bonus we get working timestamp conversion for dates before epoch
and after 2038 (both of which are allowed by UDF standard).

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/udftime.c