tags 1104420 upstream patch pending
thanks

On Tue, Apr 29, 2025 at 10:34:20PM +0200, Andreas Beckmann wrote:
> Package: openafs-modules-dkms
> Version: 1.8.13.2-1
> Severity: normal
> Tags: sid forky upstream
> 
> Hi,
> 
> openafs-modules-dkms fails to build a module for Linux 6.14 in
> experimental:
> 
>   CC [M]  osi_vnodeops.o
> osi_vnodeops.c: In function 'afs_linux_dentry_revalidate':
> osi_vnodeops.c:1417:9: error: 'nd' undeclared (first use in this function); 
> did you mean 'fd'?
>  1417 |     if (nd->flags & LOOKUP_RCU)
>       |         ^~
>       |         fd
> osi_vnodeops.c:1417:9: note: each undeclared identifier is reported only once 
> for each function it appears in
> osi_vnodeops.c: At top level:
> osi_vnodeops.c:1713:25: error: initialization of 'int (*)(struct inode *, 
> const struct qstr *, struct dentry *, unsigned int)' from incompatible 
> pointer type 'int (*)(struct dentry *, int)' [-Wincompatible-pointer-types]
>  1713 |   .d_revalidate =       afs_linux_dentry_revalidate,
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> osi_vnodeops.c:1713:25: note: (near initialization for 
> 'afs_dentry_operations.d_revalidate')
> make[6]: *** [/usr/src/linux-headers-6.14-common/scripts/Makefile.build:212: 
> osi_vnodeops.o] Error 1

The current plan is to publish an upstream 1.8.14 prerelease that has
patches for kernels through 6.16, and pull that into sid shortly
thereafter.  It's basically ready to go, just waiting on a final fix for an
issue where we were treating the 'name' argument to d_revalidate() as
interchangable with a NUL-terminated string rather than respecting the qstr
length (see the thread at
https://lists.openafs.org/pipermail/openafs-info/2025-August/043532.html
for details).

-Ben

Reply via email to