[Pkg-zfsonlinux-devel] Bug#1057452: zfs-dkms: module build fails for Linux 6.6: zfs_ctldir.c:523:13: error: 'struct inode' has no member named 'i_ctime'

Andreas Beckmann anbe at debian.org
Tue Dec 5 10:18:53 GMT 2023


Package: zfs-dkms
Version: 2.1.14-1
Severity: important
Control: close -1 2.2.2-1~exp1

Hi,

zfs-dkms fails to build a module for Linux 6.6 that was just uploaded
to experimental:

...
  CC [M]  /var/lib/dkms/zfs/2.1.14/build/module/zfs/../os/linux/zfs/zfs_ctldir.o
  CC [M]  /var/lib/dkms/zfs/2.1.14/build/module/zfs/../os/linux/zfs/zfs_debug.o
  CC [M]  /var/lib/dkms/zfs/2.1.14/build/module/zfs/../os/linux/zfs/zfs_dir.o
  CC [M]  /var/lib/dkms/zfs/2.1.14/build/module/zfs/../os/linux/zfs/zfs_file_os.o
  CC [M]  /var/lib/dkms/zfs/2.1.14/build/module/zfs/../os/linux/zfs/zfs_ioctl_os.o
  CC [M]  /var/lib/dkms/zfs/2.1.14/build/module/zfs/../os/linux/zfs/zfs_racct.o
  CC [M]  /var/lib/dkms/zfs/2.1.14/build/module/zfs/../os/linux/zfs/zfs_sysfs.o
/var/lib/dkms/zfs/2.1.14/build/module/zfs/../os/linux/zfs/zfs_ctldir.c: In function 'zfsctl_inode_alloc':
/var/lib/dkms/zfs/2.1.14/build/module/zfs/../os/linux/zfs/zfs_ctldir.c:523:13: error: 'struct inode' has no member named 'i_ctime'; did you mean 'i_atime'?
  523 |         ip->i_ctime = now;
      |             ^~~~~~~
      |             i_atime
make[6]: *** [/usr/src/linux-headers-6.6-common/scripts/Makefile.build:248: /var/lib/dkms/zfs/2.1.14/build/module/zfs/../os/linux/zfs/zfs_ctldir.o] Error 1
...

Andreas



More information about the Pkg-zfsonlinux-devel mailing list