The following commit has been merged in the openafs-stable-1_8_x branch: commit 62e2df3182bea9ea7d5e86d4d3a0dfc955bc3753 Author: Cheyenne Wills <cwi...@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 <build...@rampaginggeek.com> Reviewed-by: Cheyenne Wills <cwi...@sinenomine.net> Reviewed-by: Michael Meffie <mmef...@sinenomine.net> Reviewed-by: Andrew Deason <adea...@sinenomine.net> (cherry picked from commit bb4e15e58af92371c08b5cc41a1682cd8c96fd2f) Change-Id: If45498d60c695d6d8bf860338b9c9442ddc08bc4 Reviewed-on: https://gerrit.openafs.org/16427 Reviewed-by: Mark Vitale <mvit...@sinenomine.net> Reviewed-by: Andrew Deason <adea...@sinenomine.net> Tested-by: BuildBot <build...@rampaginggeek.com> Reviewed-by: Benjamin Kaduk <ka...@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 _______________________________________________ OpenAFS-cvs mailing list OpenAFS-cvs@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-cvs