Re: [PATCH] udf: convert inode stamps to timespec64

From: Jan Kara
Date: Wed Jun 20 2018 - 04:58:44 EST


Hello,

On Wed 20-06-18 10:15:13, Arnd Bergmann wrote:
> The VFS structures are finally converted to always use 64-bit timestamps,
> and this file system can represent a long range of on-disk timestamps
> already, so now let's fit in the missing bits for udf.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
...
> @@ -70,7 +70,7 @@ 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;
> int16_t offset;

Thanks for the patch! This function needs fixing up as well - 'seconds'
variable needs to be time64_t now. I'll fix it up and take it to my tree.

Honza
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR