summaryrefslogtreecommitdiff
path: root/share/man/man9
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 /share/man/man9
parent39929f6d9647b209b77dec51adf21cddcbd03fe0 (diff)
Remove the simplelock argument from vrecycle();
ok pedro@, sturm@
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/vrecycle.913
1 files changed, 2 insertions, 11 deletions
diff --git a/share/man/man9/vrecycle.9 b/share/man/man9/vrecycle.9
index 0a57d08ed3e..43c557486f3 100644
--- a/share/man/man9/vrecycle.9
+++ b/share/man/man9/vrecycle.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vrecycle.9,v 1.6 2004/04/17 20:30:41 jmc Exp $
+.\" $OpenBSD: vrecycle.9,v 1.7 2007/04/11 16:08:50 thib Exp $
.\"-
.\" Copyright (c) 2002 Peter Werner
.\" All rights reserved.
@@ -37,7 +37,6 @@
.Ft int
.Fo vrecycle
.Fa "struct vnode *vp"
-.Fa "struct simplelock *inter_lkp"
.Fa "struct proc *p"
.Fc
.Sh DESCRIPTION
@@ -53,18 +52,10 @@ field is zero.
If
.Va v_usecount
is non-zero, it simply returns.
-If
-.Va v_usecount
-is zero and an interlock
-.Fa inter_lkp
-was passed, this interlock will be unlocked before calling
-.Xr vgonel 9 .
.Sh RETURN VALUES
.Fn vrecycle
will return 1 if the vnode was placed on the free list.
-It will return 0 if the reference count was non-zero, and any lock passed in
-.Fa inter_lkp
-will still be locked.
+It will return 0 if the reference count was non-zero.
.Sh SEE ALSO
.Xr vgonel 9 ,
.Xr vnode 9