OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_6pre1-2-g17d38e3
Gerrit Code Review
gerrit@openafs.org
Wed, 18 Mar 2020 15:18:27 -0400
The following commit has been merged in the openafs-stable-1_8_x branch:
commit 17d38e31e6f2e237a7fb4dfb46841060296310b6
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Tue Mar 3 15:39:49 2020 -0700
LINUX 5.6: define time_t and use timespec/timespec64
The time_t type and the structure timeval were removed for use in kernel
space code in Linux commits:
412c53a680a97cb1ae2c0ab60230e193bee86387
y2038: remove unused time32 interfaces
c766d1472c70d25ad475cf56042af1652e792b23
y2038: hide timeval/timespec/itimerval/itimerspec types
Add an autoconf test for the time_t type.
If time_t is missing, define the time_t type when building the kernel
module.
Change the vattr structure in LINUX/osi_vfs.h to use timespec/timespec64
instead of the timeval structure.
Conditionalize the definition of gettimeofday (needed by rand-fortuna.c) in
crypto/hcrypto/kernel/config.h. It is unused by the Linux kernel module
and the function uses struct timeval that is no longer available.
Reviewed-on: https://gerrit.openafs.org/14083
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 78049987aa3e84865e2e7e0f3dd3b54d66258e74)
Change-Id: Iff80c161441356d19b5962956dd524792b7bf629
Reviewed-on: https://gerrit.openafs.org/14095
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/LINUX/osi_machdep.h | 4 ++++
src/afs/LINUX/osi_vfs.h | 12 +++++++++---
src/afs/LINUX/osi_vnodeops.c | 6 +++---
src/afs/VNOPS/afs_vnop_attrs.c | 4 ++--
src/cf/linux-kernel-type.m4 | 1 +
src/crypto/hcrypto/kernel/config.h | 7 +++++++
6 files changed, 26 insertions(+), 8 deletions(-)
--
OpenAFS Master Repository