diff options
author | 2007-04-11 16:08:50 +0000 | |
---|---|---|
committer | 2007-04-11 16:08:50 +0000 | |
commit | a782e7fd985a45f35ef1dc6a2ffb7f794b87e679 (patch) | |
tree | 8f8bb3786e6029f2b3a6a1cf82f43d3c49ac2ec8 /sys/kern/vfs_subr.c | |
parent | in ffs_reload() use ffs_validate() to check if the (diff) | |
download | wireguard-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.c | 6 |
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); } |