Open
Description
System information
Type | Version/Name |
---|---|
Distribution Name | Proxmox + custom kernel |
Distribution Version | 8 |
Kernel Version | 6.14-rc1 |
Architecture | x86_64 |
OpenZFS Version | 2.2.7 |
Describe the problem you're observing
OpenZFS 2.2.7 does not compile with kernel 6.14-rc1
CC [M] os/linux/zfs/zpl_file_range.o
os/linux/zfs/zpl_ctldir.c:204:27: error: initialization of 'int (*)(struct inode *, const struct qstr *, struct dentry *, unsigned int)' from incompatible pointer type 'int (*)(struct dentry *, unsigned int)' [-Werror=incompatible-pointer-types]
204 | .d_revalidate = zpl_snapdir_revalidate,
| ^~~~~~~~~~~~~~~~~~~~~~
os/linux/zfs/zpl_ctldir.c:204:27: note: (near initialization for 'zpl_dops_snapdirs.d_revalidate')
Describe how to reproduce the problem
Issue appears when compiling kernel 6.14- there was no issue with kernel 6.13.
To try it at your own:
- Grab pve-kernel repo https://github.com/KrzysztofHajdamowicz/pve-kernel
git submodule init && git submodule update
cd submodules/ubuntu-kernel && git remote add github https://github.com/KrzysztofHajdamowicz/mirror_ubuntu-kernels.git
cd submodules/ubuntu-kernel && git checkout github/build
- Use https://github.com/KrzysztofHajdamowicz/pve-kernel-zfsonlinux as submodules/zfsonlinux (note
upstream
submodule that point to openzfs/zfs repo) make
- Result is: build.txt
6.14 (and even 6.13) is too new to be mentioned as supported in release notes but FIY some code changes will be needed in the future 🙂