aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/vhold.9
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-12-14 09:11:13 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-12-14 09:11:13 +0000
commit1f620c2ead117e9b4f698560053721d05a6637a3 (patch)
tree61ed68fe6d5c7568f5fc0295ecebad6da8de3536 /share/man/man9/vhold.9
parentf74d799555a47a6f7d95a334ccb2ed28cc752c62 (diff)
mdoc(7) police: markup, grammar and spelling nits.
Reviewed by: davidc
Notes
Notes: svn path=/head/; revision=87857
Diffstat (limited to 'share/man/man9/vhold.9')
-rw-r--r--share/man/man9/vhold.925
1 files changed, 14 insertions, 11 deletions
diff --git a/share/man/man9/vhold.9 b/share/man/man9/vhold.9
index dd32504aa513..b2218e75fb9d 100644
--- a/share/man/man9/vhold.9
+++ b/share/man/man9/vhold.9
@@ -30,9 +30,8 @@
.Dt VHOLD 9
.Os
.Sh NAME
-.Nm vhold
-.Nm vdrop
-.Nd "aquire/release a hold on a vnode"
+.Nm vhold , vdrop
+.Nd "acquire/release a hold on a vnode"
.Sh SYNOPSIS
.In sys/param.h
.In sys/vnode.h
@@ -43,20 +42,24 @@
.Sh DESCRIPTION
The
.Fn vhold
-function increments the v_holdcnt of the given vnode.
-If the vnode has already been added to the free list and is still referenced
+function increments the
+.Va v_holdcnt
+of the given vnode.
+If the vnode has already been added to the free list and is still referenced,
it will be removed.
.Pp
The
.Fn vdrop
-function decrements the v_holdcnt of the vnode.
-If the holdcount is zero or less prior to calling
-.Fn vdrop
+function decrements the
+.Va v_holdcnt
+of the vnode.
+If the holdcount is less than or equal zero prior to calling
+.Fn vdrop ,
the system will panic.
-If the vnode is no longer referenced it will freed.
+If the vnode is no longer referenced, it will freed.
.Sh SEE ALSO
-.Xr vfree 9 ,
-.Xr vbusy 9
+.Xr vbusy 9 ,
+.Xr vfree 9
.Sh AUTHORS
This man page was written by
.An Chad David Aq davidc@acns.ab.ca .