summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2022-04-27 14:52:26 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2022-04-27 14:52:26 +0000
commit1e7aed2a5bf6533d7f8403afa21ce95f020a4d98 (patch)
tree5f32eec9e41848734d9a0dd302ff878ae779aa31
parenteb6c337d28c4dc95303e11dbf329ba05dda3a0e9 (diff)
vgone() is vgonel() with curproc as 2nd argument. Use vgonel() like the
other call in vop_generic_revoke(). OK semarie@
-rw-r--r--sys/kern/vfs_default.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c
index 7df5a5757b9..2be006944b1 100644
--- a/sys/kern/vfs_default.c
+++ b/sys/kern/vfs_default.c
@@ -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;
}
}