OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_1-1-g554176b
Gerrit Code Review
gerrit@openafs.org
Fri, 3 Aug 2018 09:34:42 -0400
The following commit has been merged in the openafs-stable-1_8_x branch:
commit 554176bd236d772d670df9bdd2496facd5a4209a
Author: Joe Gorse <jhgorse@gmail.com>
Date: Mon Jul 2 20:36:04 2018 +0000
LINUX: Update to Linux struct iattr->ia_ctime to timespec64 with 4.18
With 4.18+ Linux kernels we see a transition to 64-bit time stamps by
default.
current_kernel_time() returns the 32-bit struct timespec.
current_kernel_time64() returns the 64-bit struct timespec64.
struct iattr->ia_ctime expects struct timespec64 as of 4.18+.
Timestamps greater than 31-bit rollover after 2147483647 or
January 19, 2038 03:14:07 UTC. This is the same approach taken by
the Linux developers for converting between timepsec64 and timespec.
Reviewed-on: https://gerrit.openafs.org/13241
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 0bc5c15029cf7e720731f1415fcf9dc972d57ef4)
Change-Id: I16f93fd54dd45fe64f0c6fd499bf3adca978e9b1
Reviewed-on: https://gerrit.openafs.org/13268
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_file.c | 6 +++++-
src/cf/linux-kernel-assorted.m4 | 1 +
src/cf/linux-test4.m4 | 12 +++++++++++-
3 files changed, 17 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository