All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tina Ruchandani <ruchandani.tina@gmail.com>
To: David Howells <dhowells@redhat.com>
Cc: linux-afs@lists.infradead.org, Arnd Bergmann <arnd@arndb.de>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] afs: Migrate to 64-bit timekeeping
Date: Thu, 29 Jan 2015 11:35:07 +0530	[thread overview]
Message-ID: <20150129060507.GA3437@tinar> (raw)

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


             reply	other threads:[~2015-01-29  6:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29  6:05 Tina Ruchandani [this message]
2015-02-11 11:26 ` [PATCH 0/2] afs: Migrate to 64-bit timekeeping David Howells
2015-02-11 12:52   ` David Howells

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150129060507.GA3437@tinar \
    --to=ruchandani.tina@gmail.com \
    --cc=arnd@arndb.de \
    --cc=dhowells@redhat.com \
    --cc=linux-afs@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.