grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] Use 64bit type for filesystem timestamp


From: Javier Martinez Canillas
Subject: Re: [PATCH 2/2] Use 64bit type for filesystem timestamp
Date: Tue, 13 Apr 2021 19:26:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

Please also add a "fs:" prefix to the subject line here.

On 3/23/21 2:29 PM, Carlos Maiolino wrote:
> Some filesystems nowadays uses 64bit timestamps for timestamps, so,
> update grub_dirhook_info struct to use an int64 type to store mtime.
> This also updates grub_unixtime2datetime() to receive a 64-bit timestamp
> argument and do 64bit-safe divisions.
> 
> Both changes enables grub to support dates beyond y2038.
> 
> Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
> ---

Assuming changing this doesn't cause issues for 32-bit arches:

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>

Best regards,
-- 
Javier Martinez Canillas
Software Engineer - Desktop Hardware Enablement
Red Hat




reply via email to

[Prev in Thread] Current Thread [Next in Thread]