mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 07:27:59 -08:00
vgone() is vgonel() with curproc as 2nd argument. Use vgonel() like the
other call in vop_generic_revoke(). OK semarie@
This commit is contained in:
parent
54a3c02af7
commit
0bc743c010
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: vfs_default.c,v 1.50 2021/10/15 06:30:06 semarie Exp $ */
|
||||
/* $OpenBSD: vfs_default.c,v 1.51 2022/04/27 14:52:25 claudio Exp $ */
|
||||
|
||||
/*
|
||||
* Portions of this code are:
|
||||
@ -107,7 +107,7 @@ vop_generic_revoke(void *v)
|
||||
if (vq->v_rdev != vp->v_rdev ||
|
||||
vq->v_type != vp->v_type || vp == vq)
|
||||
continue;
|
||||
vgone(vq);
|
||||
vgonel(vq, p);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user