summaryrefslogtreecommitdiffstats
path: root/share/man/man9/vflush.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/vflush.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/vflush.9')
-rw-r--r--share/man/man9/vflush.920
1 files changed, 12 insertions, 8 deletions
diff --git a/share/man/man9/vflush.9 b/share/man/man9/vflush.9
index 16f7c75..8b4c152 100644
--- a/share/man/man9/vflush.9
+++ b/share/man/man9/vflush.9
@@ -34,13 +34,14 @@
.Nd "flush vnodes for a mount point"
.Sh SYNOPSIS
.In sys/param.h
-.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn vflush "struct mount *mp" "int rootrefs" "int flags"
.Sh DESCRIPTION
The
.Fn vflush
-function removes any vnodes in the vnode table that belong to the given mount
+function removes any vnodes in the vnode table that belong to the given
+.Vt mount
structure.
.Pp
Its arguments are:
@@ -49,7 +50,7 @@ Its arguments are:
The mount point whose vnodes should be removed.
.It Fa rootrefs
The number of references expected on the root vnode.
-.Fn vrele
+.Xr vrele 9
will be invoked on the root vnode
.Fa rootrefs
times.
@@ -57,20 +58,23 @@ times.
The flags indicating how vnodes should be handled.
.Bl -tag -width ".Dv WRITECLOSE"
.It Dv FORCECLOSE
-If set busy vnodes will be forcibly closed.
+If set, busy vnodes will be forcibly closed.
.It Dv SKIPSYSTEM
-If set vnodes with the VSYSTEM flag set will be skipped.
+If set, vnodes with the
+.Dv VSYSTEM
+flag set will be skipped.
.It Dv WRITECLOSE
-If set only regular files currently opened for writing will be removed.
+If set, only regular files currently opened for writing will be removed.
.El
.El
.Sh RETURN VALUES
A value of 0 is returned if the flush is successful; otherwise,
-.Dv EBUSY
+.Er EBUSY
will be returned.
.Sh SEE ALSO
.Xr vgone 9 ,
-.Xr vgonel 9
+.Xr vgonel 9 ,
+.Xr vrele 9
.Sh AUTHORS
This man page was written by
.An Chad David Aq davidc@acns.ab.ca .
OpenPOWER on IntegriCloud