[Y2038] [PATCH RESEND] AFS: Correctly use 64-bit time for UUID

Arnd Bergmann arnd at arndb.de
Fri Jan 22 07:12:10 PST 2016


On Friday 22 January 2016 15:32:01 Arnd Bergmann wrote:
> 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.
> 
> Suggested-by: Arnd Bergmann <arnd at arndb.de>
> Signed-off-by: Tina Ruchandani <ruchandani.tina at gmail.com>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> 


I was missing

From: Tina Ruchandani <ruchandani.tina at gmail.com>

If anyone is going to pick this up, let me know whether you will fix
it up yourself or if I should resend



More information about the linux-afs mailing list