summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-04-11 16:08:51 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-04-11 16:08:51 +0000
commit7924b5b21bdc71d47b6162b7b1145eb2d98a1ae3 (patch)
tree7870003757b8e32a6cf615f58598647d7b5d3280 /sys/kern/vfs_subr.c
parent39929f6d9647b209b77dec51adf21cddcbd03fe0 (diff)
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);
}