OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_6pre1-2-g17d38e3

Gerrit Code Review
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 <>
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:
            y2038: remove unused time32 interfaces
            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
    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.
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Cheyenne Wills <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit 78049987aa3e84865e2e7e0f3dd3b54d66258e74)
    Change-Id: Iff80c161441356d19b5962956dd524792b7bf629
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>
    Tested-by: Cheyenne Wills <>
    Reviewed-by: Stephan Wiesand <>

 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