Re: FreeBSD Errata Notice FreeBSD-EN-22:11.zfs

From: Christoph Moench-Tegeder <>
Date: Tue, 15 Mar 2022 20:35:51 UTC
## FreeBSD Errata Notices (

> # fetch

Unless I'm totally cross-eyed, this patch is not what has been
committed to releng/13.0
and the committed version does not compile (just bombed out here, so,
yeah, confirmed).
To be more precise, the newly added function vn_flush_cached_data() in
sys/contrib/openzfs/include/os/freebsd/spl/sys/vnode.h is inside the
'#ifndef IN_BASE' guard in zfs.patch but outside in releng/13.0. As
it accesses vp->v_object (vp being a struct vnode *) and the #include
of sys/vnode.h is inside a '#ifndef IN_BASE' guard in both the patch
and the committed version, we don't have a full declaration of
struct vnode in the committed variant of aforementioned file, so that
vp->v_object must not be (at least as far as the C compiler is concerned).


Spare Space