Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1263403 > unrolled thread

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

Started byArnd Bergmann <arnd@arndb.de>
First post2015-11-05 17:30 +0100
Last post2015-11-05 17:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] AFS: Correctly use 64-bit time for UUID Arnd Bergmann <arnd@arndb.de> - 2015-11-05 17:30 +0100

#1263403 — Re: [PATCH] AFS: Correctly use 64-bit time for UUID

FromArnd Bergmann <arnd@arndb.de>
Date2015-11-05 17:30 +0100
SubjectRe: [PATCH] AFS: Correctly use 64-bit time for UUID
Message-ID<qrvAg-C9-49@gated-at.bofh.it>
On Friday 30 October 2015 01:51:01 Tina Ruchandani 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@arndb.de>
> Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
> 

Reviewed-by: Arnd Bergmann <arnd@arndb.de>

David, I'm applying this into my y2038 tree so I don't forget about
it, but I'd prefer if you can pick it up for AFS in 4.5.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web