lkml.org 
[lkml]   [2017]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] afs: correctly use 64-bit time for UUID
Date
Arnd Bergmann <arnd@arndb.de> wrote:

> From: Tina Ruchandani <ruchandani.tina@gmail.com>
>
> UUID calculation uses 'struct timespec' whose seconds will overflow
> in year 2038 and beyond for 32-bit systems. This patch removes the
> dependency on 'struct timespec' by using ktime_get_real().
> While the patch does not fix a 'bug' as such, it is part of a larger
> effort to remove instances of 'struct timespec' and other data-structures
> suffering from y2038 problem from the kernel.

Is it worth abstracting out in-kernel UUID generation?

David

\
 
 \ /
  Last update: 2017-01-11 14:52    [W:0.065 / U:1.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site