pefs-kmod [13.0] broken

bsduser031

New Member


Messages: 1

Unfortunately the pefs-kmod port got marked as broken in for 13.0.

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.

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.
What happened to the flag parameter?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 11,612
Messages: 37,947

 
Top