summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2007-04-11 16:08:50 +0000
committerthib <thib@openbsd.org>2007-04-11 16:08:50 +0000
commita782e7fd985a45f35ef1dc6a2ffb7f794b87e679 (patch)
tree8f8bb3786e6029f2b3a6a1cf82f43d3c49ac2ec8 /sys/kern/vfs_subr.c
parentin ffs_reload() use ffs_validate() to check if the (diff)
downloadwireguard-openbsd-a782e7fd985a45f35ef1dc6a2ffb7f794b87e679.tar.xz
wireguard-openbsd-a782e7fd985a45f35ef1dc6a2ffb7f794b87e679.zip
Remove the simplelock argument from vrecycle();
ok pedro@, sturm@
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index cb951ea6060..0274a015389 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.141 2007/03/21 17:29:31 thib Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.142 2007/04/11 16:08:50 thib Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -1021,11 +1021,9 @@ vclean(struct vnode *vp, int flags, struct proc *p)
* Release the passed interlock if the vnode will be recycled.
*/
int
-vrecycle(struct vnode *vp, struct simplelock *inter_lkp, struct proc *p)
+vrecycle(struct vnode *vp, struct proc *p)
{
if (vp->v_usecount == 0) {
- if (inter_lkp)
- simple_unlock(inter_lkp);
vgonel(vp, p);
return (1);
}