[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5338.1484142692@warthog.procyon.org.uk>
Date: Wed, 11 Jan 2017 13:51:32 +0000
From: David Howells <dhowells@...hat.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: dhowells@...hat.com, Tina Ruchandani <ruchandani.tina@...il.com>,
linux-afs@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] afs: correctly use 64-bit time for UUID
Arnd Bergmann <arnd@...db.de> wrote:
> From: Tina Ruchandani <ruchandani.tina@...il.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
Powered by blists - more mailing lists