[OpenAFS-devel] Openafs on kernel 6.14 Fedora 42 patched but fails to compile

Benjamin Kaduk kaduk@mit.edu
Fri, 18 Apr 2025 22:42:32 -0700


On Fri, Apr 18, 2025 at 09:06:37PM -0400, Eric Matlis wrote:
> Thank you for the quick response.  Using export CC="gcc -std=c99" before
> rpmbuild --rebuild resolved this issue, however, not I get the following
> errors:
> 
> osi_vnodeops.c: In function ‘afs_linux_dentry_revalidate’:
> osi_vnodeops.c:1636:10: error: ‘nd’ undeclared (first use in this
> function); did you mean ‘fd’?
> 1636 |     if ((nd->flags & LOOKUP_RCU) != 0) {
>      |          ^~
>      |          fd

That looks to be in the vicinity of the patches that should be adding
support for 6.14 kernels -- can you post your config.log somewhere so we
can tell if configure is finding the functions we expect?

-Ben