OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_13_2-92-g62e2df3

Gerrit Code Review gerrit@openafs.org
Thu, 24 Jul 2025 13:34:40 -0400


The following commit has been merged in the openafs-stable-1_8_x branch:
commit 62e2df3182bea9ea7d5e86d4d3a0dfc955bc3753
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Thu Jun 26 10:12:57 2025 -0600

    cf: check for dentry flag macros/enums
    
    Linux 6.15 commit:
        dcache: convert dentry flag macros to enum (b2b4483b5d05)
    converted the dentry flag macros to an enum.
    
    Because these flags are now enums, a preprocessor #ifdef can no longer
    be used to test to see if the symbol is present, so a different form
    of test is needed.
    
    Introduce a new autoconf test, AC_CHECK_LINUX_SYMBOL that takes a
    symbol and an include and tries to assign the symbol to an integer
    variable.
    
    Add a new autoconf file, 'linux-kernel-symbol.m4' to hold the individual
    tests.
    
    Use the new AC_CHECK_LINUX_SYMBOL to test for the DCACHE_NEED_AUTOMOUNT
    and DCACHE_NFSFS_RENAMED flags.
    
    Reviewed-on: https://gerrit.openafs.org/16377
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    (cherry picked from commit bb4e15e58af92371c08b5cc41a1682cd8c96fd2f)
    
    Change-Id: If45498d60c695d6d8bf860338b9c9442ddc08bc4
    Reviewed-on: https://gerrit.openafs.org/16427
    Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/afs/LINUX/osi_compat.h    |  4 ++--
 src/cf/linux-checks.m4        |  1 +
 src/cf/linux-kernel-symbol.m4 | 11 +++++++++++
 src/cf/linux-test1.m4         | 13 +++++++++++++
 4 files changed, 27 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository