OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-280-gfb31d29

Gerrit Code Review gerrit@openafs.org
Thu, 20 Jul 2023 12:10:40 -0400


The following commit has been merged in the master branch:
commit fb31d299e6caa015f6288ba9186da6277d3d6a8d
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Thu Jul 13 10:54:22 2023 -0600

    Linux 6.5: Use register_sysctl()
    
    The linux 6.5 commit:
        "sysctl: Remove register_sysctl_table" (b8cbc0855a)
    removed the Linux function register_sysctl_table().  The replacement
    function is register_sysctl(), which offers a simpler interface.
    
    Add an autoconf test for the Linux function register_sysctl and add a
    call to register_sysctl when available.
    
    Notes:
    The Linux function register_sysctl was added in Linux 3.3 with the
    commit:
        'sysctl: Add register_sysctl for normal sysctl users' (fea478d410)
    with a note that it is a simpler interface.
    
    The function register_sysctl_table was marked as deprecated with the
    Linux 6.3 commit:
        'proc_sysctl: enhance documentation' (1dc8689e4c)
    
    Change-Id: I657bee103cd1f4ab2e60b3f3471c3fc12d8b6be4
    Reviewed-on: https://gerrit.openafs.org/15500
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/afs/LINUX/osi_sysctl.c      | 8 +++++---
 src/cf/linux-kernel-assorted.m4 | 4 +++-
 src/cf/linux-kernel-func.m4     | 8 ++++++++
 3 files changed, 16 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository