From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966913AbdAKNvf (ORCPT ); Wed, 11 Jan 2017 08:51:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46588 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966737AbdAKNve (ORCPT ); Wed, 11 Jan 2017 08:51:34 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20170111134436.3877048-1-arnd@arndb.de> References: <20170111134436.3877048-1-arnd@arndb.de> To: Arnd Bergmann Cc: dhowells@redhat.com, Tina Ruchandani , linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] afs: correctly use 64-bit time for UUID MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5337.1484142692.1@warthog.procyon.org.uk> Date: Wed, 11 Jan 2017 13:51:32 +0000 Message-ID: <5338.1484142692@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 11 Jan 2017 13:51:35 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann wrote: > From: Tina Ruchandani > > 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