summaryrefslogtreecommitdiffstats
path: root/share/man/man9/vhold.9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-12-14 09:11:13 +0000
committerru <ru@FreeBSD.org>2001-12-14 09:11:13 +0000
commit5cbdc3fd68f69652ae7680ccce867f54dcfeddd7 (patch)
tree61ed68fe6d5c7568f5fc0295ecebad6da8de3536 /share/man/man9/vhold.9
parent1e98a2bc17719c5f5e790cc6121376192638812b (diff)
downloadFreeBSD-src-5cbdc3fd68f69652ae7680ccce867f54dcfeddd7.zip
FreeBSD-src-5cbdc3fd68f69652ae7680ccce867f54dcfeddd7.tar.gz
mdoc(7) police: markup, grammar and spelling nits.
Reviewed by: davidc
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 dd32504..b2218e7 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 .
OpenPOWER on IntegriCloud