OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-538-g7804998

Gerrit Code Review gerrit@openafs.org
Mon, 9 Mar 2020 11:52:43 -0400


The following commit has been merged in the master branch:
commit 78049987aa3e84865e2e7e0f3dd3b54d66258e74
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.
    
    Change-Id: Idc9a1ded748f833d804164d29c49c9aee26ae8f5
    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>

 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