Document vgonel(9).

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
trasz 2015-08-03 16:30:47 +00:00
parent d8303f2c35
commit b3cc954757
2 changed files with 7 additions and 0 deletions

View File

@ -1739,6 +1739,7 @@ MLINKS+=vfs_getopt.9 vfs_copyopt.9 \
vfs_getopt.9 vfs_setopt.9 \
vfs_getopt.9 vfs_setopt_part.9 \
vfs_getopt.9 vfs_setopts.9
MLINKS+=vgone.9 vgonel.9
MLINKS+=vhold.9 vdrop.9 \
vhold.9 vdropl.9 \
vhold.9 vholdl.9

View File

@ -37,6 +37,7 @@
.In sys/vnode.h
.Ft void
.Fn vgone "struct vnode *vp"
.Fn vgonel "struct vnode *vp"
.Sh DESCRIPTION
The
.Fn vgone
@ -56,6 +57,11 @@ The
.Fn vgone
function takes an exclusively locked vnode, and returns with the vnode
exclusively locked.
The
.Fn vgonel
differs from
.Fn vgone
by requiring the vnode interlock to be held.
.Sh SEE ALSO
.Xr vnode 9
.Sh AUTHORS