]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/udf/udftime.c
Merge tag 'drm-intel-next-fixes-2020-02-13' of git://anongit.freedesktop.org/drm...
[linux.git] / fs / udf / udftime.c
index 67b33ac5d41bdd5d4078dcdb7f1e3ab5ec2f16c1..fce4ad976c8c29a179a8c81096569d1e778edd21 100644 (file)
@@ -41,7 +41,7 @@
 #include <linux/time.h>
 
 void
-udf_disk_stamp_to_time(struct timespec *dest, struct timestamp src)
+udf_disk_stamp_to_time(struct timespec64 *dest, struct timestamp src)
 {
        u16 typeAndTimezone = le16_to_cpu(src.typeAndTimezone);
        u16 year = le16_to_cpu(src.year);
@@ -70,9 +70,9 @@ udf_disk_stamp_to_time(struct timespec *dest, struct timestamp src)
 }
 
 void
-udf_time_to_disk_stamp(struct timestamp *dest, struct timespec ts)
+udf_time_to_disk_stamp(struct timestamp *dest, struct timespec64 ts)
 {
-       long seconds;
+       time64_t seconds;
        int16_t offset;
        struct tm tm;