Re: [PATCH] afs: correctly use 64-bit time for UUID

2017-01-11 Thread Arnd Bergmann
On Wednesday, January 11, 2017 2:47:20 PM CET David Howells wrote: > Arnd Bergmann wrote: > > > > Is it worth abstracting out in-kernel UUID generation? > > > > Do you mean moving it out of AFS into lib/*.c? I think the 'afs_uuid' > > structure is quite different from other UUID

Re: [PATCH] afs: correctly use 64-bit time for UUID

2017-01-11 Thread Arnd Bergmann
On Wednesday, January 11, 2017 2:47:20 PM CET David Howells wrote: > Arnd Bergmann wrote: > > > > Is it worth abstracting out in-kernel UUID generation? > > > > Do you mean moving it out of AFS into lib/*.c? I think the 'afs_uuid' > > structure is quite different from other UUID definitions, so

Re: [PATCH] afs: correctly use 64-bit time for UUID

2017-01-11 Thread David Howells
Arnd Bergmann wrote: > > Is it worth abstracting out in-kernel UUID generation? > > Do you mean moving it out of AFS into lib/*.c? I think the 'afs_uuid' > structure is quite different from other UUID definitions, so that wouldn't > work. afs_uuid is as it is to make it easier

Re: [PATCH] afs: correctly use 64-bit time for UUID

2017-01-11 Thread David Howells
Arnd Bergmann wrote: > > Is it worth abstracting out in-kernel UUID generation? > > Do you mean moving it out of AFS into lib/*.c? I think the 'afs_uuid' > structure is quite different from other UUID definitions, so that wouldn't > work. afs_uuid is as it is to make it easier to package into

Re: [PATCH] afs: correctly use 64-bit time for UUID

2017-01-11 Thread Arnd Bergmann
On Wednesday, January 11, 2017 1:51:32 PM CET David Howells wrote: > 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

Re: [PATCH] afs: correctly use 64-bit time for UUID

2017-01-11 Thread Arnd Bergmann
On Wednesday, January 11, 2017 1:51:32 PM CET David Howells wrote: > 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

Re: [PATCH] afs: correctly use 64-bit time for UUID

2017-01-11 Thread David Howells
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(). >

Re: [PATCH] afs: correctly use 64-bit time for UUID

2017-01-11 Thread David Howells
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,

[PATCH] afs: correctly use 64-bit time for UUID

2017-01-11 Thread Arnd Bergmann
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

[PATCH] afs: correctly use 64-bit time for UUID

2017-01-11 Thread Arnd Bergmann
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

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

2015-11-05 Thread Arnd Bergmann
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'

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

2015-11-05 Thread Arnd Bergmann
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'

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

2015-10-30 Thread 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

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

2015-10-30 Thread 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

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

2015-02-11 Thread David Howells
Tina Ruchandani wrote: > + uuidtime = ktime_get_real_ns() / 100; 64-bit division must be done using asm/div64.h David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

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

2015-02-11 Thread David Howells
Tina Ruchandani ruchandani.t...@gmail.com wrote: + uuidtime = ktime_get_real_ns() / 100; 64-bit division must be done using asm/div64.h David -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

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

2015-01-28 Thread 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_ns(). While the patch does not fix a 'bug' as such, it is part of a larger effort to remove instances of

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

2015-01-28 Thread 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_ns(). While the patch does not fix a 'bug' as such, it is part of a larger effort to remove instances of