🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Andreas Beckmann Fri, 27 Nov 2026 21:00
Bug#1155570: openafs-modules-dkms: module fails to build for Linux 7.4: the inode->i_op->setattr() function signature has change...
#6465
Author: Andreas Beckmann
Date: Fri, 27 Nov 2026 21:00
54 lines
5027 bytes
Package: openafs-modules-dkms
Version: 1.8.17~pre2-1
Severity: important
Tags: upstream

Hi,

openafs-modules-dkms fails to build a module for Linux 7.4 in
experimental:

...
  CC [M]  rx_kmutex.o
In file included from rx_kmutex.c:24:
/var/lib/dkms/openafs/1.8.17pre2/build/src/afs/LINUX/osi_compat.h: In function 'afs_inode_setattr':
/var/lib/dkms/openafs/1.8.17pre2/build/src/afs/LINUX/osi_compat.h:71:26: error: passing argument 1 of 'inode->i_op->setattr' from incompatible pointer type [-Wincompatible-pointer-types]
   71 | #  define f_dentry f_path.dentry
      |                          ^
      |                          |
      |                          struct dentry *
/var/lib/dkms/openafs/1.8.17pre2/build/src/afs/LINUX/osi_compat.h:569:46: note: in expansion of macro 'f_dentry'
  569 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |                                              ^~~~~~~~
/var/lib/dkms/openafs/1.8.17pre2/build/src/afs/LINUX/osi_compat.h:71:26: note: expected 'const struct mnt_idmap *' but argument is of type 'struct dentry *'
/var/lib/dkms/openafs/1.8.17pre2/build/src/afs/LINUX/osi_compat.h:569:46: note: in expansion of macro 'f_dentry'
  569 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |                                              ^~~~~~~~
/var/lib/dkms/openafs/1.8.17pre2/build/src/afs/LINUX/osi_compat.h:569:56: error: passing argument 2 of 'inode->i_op->setattr' from incompatible pointer type [-Wincompatible-pointer-types]
  569 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |                                                        ^~~~~~~~
      |                                                        |
      |                                                        struct iattr *
/var/lib/dkms/openafs/1.8.17pre2/build/src/afs/LINUX/osi_compat.h:569:56: note: expected 'struct dentry *' but argument is of type 'struct iattr *'
/var/lib/dkms/openafs/1.8.17pre2/build/src/afs/LINUX/osi_compat.h:569:12: error: too few arguments to function 'inode->i_op->setattr'; expected 3, have 2
  569 |     code = inode->i_op->setattr(afile->filp->f_dentry, newattrs);
      |            ^~~~~
In file included from /usr/src/linux-headers-7.4-common/include/linux/highmem.h:5,
                 from /usr/src/linux-headers-7.4-common/include/linux/bvec.h:10,
                 from /usr/src/linux-headers-7.4-common/include/linux/skbuff.h:17,
                 from /usr/src/linux-headers-7.4-common/include/linux/ip.h:16,
                 from /var/lib/dkms/openafs/1.8.17pre2/build/src/libafs/MODLOAD-7.4-amd64-SP/./netinet/ip.h:1,
                 from /var/lib/dkms/openafs/1.8.17pre2/build/src/rx/rx_kcommon.h:94,
                 from rx_kmutex.c:20:
/usr/src/linux-headers-7.4-common/include/linux/fs.h:2022:15: note: declared here
 2022 |         int (*setattr) (const struct mnt_idmap *, struct dentry *, struct iattr *);
      |               ^~~~~~~
/var/lib/dkms/openafs/1.8.17pre2/build/src/afs/LINUX/osi_compat.h: In function 'afs_setattr_prepare':
/var/lib/dkms/openafs/1.8.17pre2/build/src/afs/LINUX/osi_compat.h:802:12: error: implicit declaration of function 'inode_change_ok' [-Wimplicit-function-declaration]
  802 |     return inode_change_ok(dp->d_inode, newattrs);
      |            ^~~~~~~~~~~~~~~
make[6]: *** [/usr/src/linux-headers-7.4-common/scripts/Makefile.build:295: rx_kmutex.o] Error 1
...


Andreas
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads