Josh Paetzel Changes to vmmemctl.ko and vmblock.ko for FreeBSD 13.0 API changes.
- https://github.com/vmware/open-vm-tools/pull/398
+Josh Paetzel FreeBSD has removed some vnops flags that have never been used.
+ - https://github.com/vmware/open-vm-tools/pull/403
+
* Map the possible out-going vpp (Assumes that the lower layer always
* returns a VREF'ed vpp unless it gets an error.)
*/
- if (descp->vdesc_vpp_offset != VDESC_NO_OFFSET &&
- !(descp->vdesc_flags & VDESC_NOMAP_VPP) &&
- !error) {
- /*
- * XXX - even though some ops have vpp returned vp's, several ops
- * actually vrele this before returning. We must avoid these ops.
- * (This should go away when these ops are regularized.)
- */
- if (descp->vdesc_flags & VDESC_VPP_WILLRELE) {
- goto out;
- }
+ if (descp->vdesc_vpp_offset != VDESC_NO_OFFSET && !error) {
vppp = VOPARG_OFFSETTO(struct vnode***, descp->vdesc_vpp_offset,ap);
if (*vppp) {
/* FIXME: set proper name for the vnode */
}
}
-out:
return error;
}