From 7924b5b21bdc71d47b6162b7b1145eb2d98a1ae3 Mon Sep 17 00:00:00 2001 From: "Thordur I. Bjornsson" Date: Wed, 11 Apr 2007 16:08:51 +0000 Subject: Remove the simplelock argument from vrecycle(); ok pedro@, sturm@ --- share/man/man9/vrecycle.9 | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'share/man') 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 -- cgit v1.2.3