OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-237-gbb4e15e

Gerrit Code Review gerrit@openafs.org
Thu, 3 Jul 2025 11:19:29 -0400


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

 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