diff options
author | Chad David <davidc@FreeBSD.org> | 2008-02-26 20:25:01 +0000 |
---|---|---|
committer | Chad David <davidc@FreeBSD.org> | 2008-02-26 20:25:01 +0000 |
commit | b03ee585b421e5d3eaa95f6f5ea8c1803c107766 (patch) | |
tree | 2c7edef82ba68315194e0442e6c5d195b44924ba /share/man/man9/vhold.9 | |
parent | 96872be38c3371ef0797479fe42aae9634b954d6 (diff) |
Document vholdl(9)
No longer refer to vbusy(9) or vfree(9)
Notes
Notes:
svn path=/head/; revision=176606
Diffstat (limited to 'share/man/man9/vhold.9')
-rw-r--r-- | share/man/man9/vhold.9 | 22 |
1 files 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 vdrop +.Fn vhold and -.Fn vdropl -is that .Fn vdrop -locks the vnode interlock and then calls -.Fn vdropl -while +lock the vnode interlock while +.Fn vholdl +and .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 . |