Article View: linux.debian.bugs.dist
Article #6465Bug#1155570: openafs-modules-dkms: module fails to build for Linux 7.4: the inode->i_op->setattr() function signature has change...
From: Andreas Beckmann
Date: Fri, 27 Nov 2026 21:00
Date: Fri, 27 Nov 2026 21:00
54 lines
5027 bytes
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
Technical Details
Message-ID:
<O4bcZ-exAi-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Andreas Beckmann <anbe@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155570: openafs-modules-dkms: module fails to build for Linux 7.4: the inode->i_op->setattr() function signature has changed Date: Fri, 27 Nov 2026 22:00:01 +0100 Message-ID: <O4bcZ-exAi-5@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Nov 27 20:59:20 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.9 Reply-To: Andreas Beckmann <anbe@debian.org>, 1155570@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: kaduk@mit.edu X-Debian-Pr-Message: report 1155570 X-Debian-Pr-Package: openafs-modules-dkms X-Debian-Pr-Keywords: upstream X-Debian-Pr-Source: openafs Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005447 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 54 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 27 Nov 2026 21:55:58 +0100 X-Original-Message-ID: <179581295891.3918582.11950046254221095505.reportbug@caipi>