From b03ee585b421e5d3eaa95f6f5ea8c1803c107766 Mon Sep 17 00:00:00 2001 From: Chad David Date: Tue, 26 Feb 2008 20:25:01 +0000 Subject: [PATCH] Document vholdl(9) No longer refer to vbusy(9) or vfree(9) --- share/man/man9/vhold.9 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/share/man/man9/vhold.9 b/share/man/man9/vhold.9 index 6eafd3fc3db5..cb1f35d1df37 100644 --- a/share/man/man9/vhold.9 +++ b/share/man/man9/vhold.9 @@ -38,13 +38,17 @@ .Ft void .Fn vhold "struct vnode *vp" .Ft void +.Fn vholdl "struct vnode *vp" +.Ft void .Fn vdrop "struct vnode *vp" .Ft void .Fn vdropl "struct vnode *vp" .Sh DESCRIPTION The .Fn vhold -function increments the +and +.Fn vholdl +functions increment the .Va v_holdcnt of the given vnode. If the vnode has already been added to the free list and is still referenced, @@ -64,20 +68,16 @@ or the system will panic. If the vnode is no longer referenced, it will be freed. .Pp -The difference between +.Fn vhold +and .Fn vdrop +lock the vnode interlock while +.Fn vholdl and .Fn vdropl -is that -.Fn vdrop -locks the vnode interlock and then calls -.Fn vdropl -while -.Fn vdropl -expects the interlock to already be locked. +expect the interlock to already be held. .Sh SEE ALSO -.Xr vbusy 9 , -.Xr vfree 9 +.Xr vnode 9 .Sh AUTHORS This manual page was written by .An Chad David Aq davidc@acns.ab.ca .