Re: [PATCH 3/3] btrfs: use timespec64 for i_otime

From: Nikolay Borisov
Date: Wed Jun 20 2018 - 15:34:27 EST




On 20.06.2018 19:38, David Sterba wrote:
> On Wed, Jun 20, 2018 at 04:34:34PM +0200, Arnd Bergmann wrote:
>> While the regular inode timestamps all use timespec64 now, the
>> i_otime field is btrfs specific and still needs to be converted
>> to correctly represent times beyond 2038.
>>
>> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
>
> This patch addresses the remaining type conversions, so I'm going to
> merge it, thanks.
>

Actually for the sake of consistency we might want to merge this series
altogether. As it stands we now use ktime_get_seconds and
ktime_get_real_seconds (from Allen's patch). I haven't dug to see what's
the difference (if any) between the two .