public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] afs: Migrate to 64-bit timekeeping
@ 2015-01-29  6:05 Tina Ruchandani
  2015-02-11 11:26 ` David Howells
  0 siblings, 1 reply; 3+ messages in thread
From: Tina Ruchandani @ 2015-01-29  6:05 UTC (permalink / raw)
  To: David Howells; +Cc: linux-afs, Arnd Bergmann, linux-kernel

This patchset is an attempt to port afs's timekeeping
variables from time_t type to time64_t. AFS uses
get_seconds to store real (wall clock) time in seconds.
The time returned by get_seconds() will overflow on 32-bit systems
in year 2106 and beyond.
This patchset replaces the usage with ktime_get_real_seconds.
Fields that propagate to the inode (mtime_client, mtime_server,
creation) remain untouched, as the inode timestamps are only 32bit.

Tina Ruchandani (2):
  afs: Migrate vlocation fields to 64-bit
  afs: Prevent callback expiry timer overflow

 fs/afs/callback.c  |  7 ++++---
 fs/afs/fsclient.c  |  2 +-
 fs/afs/inode.c     |  7 ++++---
 fs/afs/internal.h  | 11 ++++++-----
 fs/afs/server.c    |  6 +++---
 fs/afs/vlocation.c | 16 +++++++++-------
 6 files changed, 27 insertions(+), 22 deletions(-)

-- 
2.2.0.rc0.207.ga3a616c


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-11 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-29  6:05 [PATCH 0/2] afs: Migrate to 64-bit timekeeping Tina Ruchandani
2015-02-11 11:26 ` David Howells
2015-02-11 12:52   ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox