Unfortunately the pefs-kmod port got marked as broken in for 13.0.
This file generates the vnode_if.h header where the function is declared.
According to the manual of VOP_UNLOCK an additional flag parameter has to be passed along.
What happened to the flag parameter?
pefs/sys/modules/pefs/../../fs/pefs/pefs_subr.c:257:21: error: too many arguments to function call,
expected single argument 'vp', have 2 arguments
VOP_UNLOCK(ldvp, 0);
~~~~~~~~~~ ^
./vnode_if.h:1145:21: note: 'VOP_UNLOCK' declared here
static __inline int VOP_UNLOCK(
This file generates the vnode_if.h header where the function is declared.
pefs/sys/modules/pefs/Makefile at master · freebsd-pefs/pefs
PEFS - stacked cryptographic file system for FreeBSD - freebsd-pefs/pefs
github.com
C:
int VOP_UNLOCK_AP(struct vop_unlock_args *);
int VOP_UNLOCK_APV(struct vop_vector *vop, struct vop_unlock_args *);
static __inline int VOP_UNLOCK(
struct vnode *vp)
{
struct vop_unlock_args a;
a.a_gen.a_desc = &vop_unlock_desc;
a.a_vp = vp;
#if !defined(DEBUG_VFS_LOCKS) && !defined(INVARIANTS) && !defined(KTR)
if (!SDT_PROBES_ENABLED())
return (vp->v_op->vop_unlock(&a));
else
return (VOP_UNLOCK_APV(vp->v_op, &a));
#else
return (VOP_UNLOCK_APV(vp->v_op, &a));
#endif
}
According to the manual of VOP_UNLOCK an additional flag parameter has to be passed along.
VOP_UNLOCK(9)
www.freebsd.org