aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/vhold.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/vhold.9')
-rw-r--r--share/man/man9/vhold.922
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 .