Hi, I noticed, that the description of vgone/vgonel in the manpage does not match the code. The manpage (https://man.openbsd.org/vgone) states: The difference between vgone() and vgonel() is that vgone() locks the vnode interlock and then calls vgonel() while vgonel() expects the interlock to already be locked.
However, vgone simply calls vgonel with curproc (see vfs_subr.c).
void
vgone(struct vnode *vp)
{
struct proc *p = curproc;
vgonel(vp, p);
}
Best regards,
Dominik
