zfsonfreebsd/ZoF

ZoF fails to build on FreeBSD 13.0-CURRENT (since r349846)

fbynite opened this issue · 1 comments

System information

Type Version/Name
Distribution Name FreeBSD 13.0-CURRENT r349857
Distribution Version
Linux Kernel
Architecture amd64
ZFS Version ZoF (commit: e398e94)
SPL Version

Describe the problem you're observing

ZoF won't build on FreeBSD-CURRENT, it complains with:

implicit declaration of function vm_page_hold

Since FreeBSD-CURRENT (r349846), the vm_page hold and wire mechanisms have been merged. See https://reviews.freebsd.org/D19247 for details - specifically the changes to zfs_vnops.c.

The changes from r349846 to zfs_vnops.c will need to be brought in at some point.

I've applied those changes to my local copy and I'm now able to compile the kernel module.

Should be fixed by ff8aed7, if not please reopen.