Page MenuHomeFreeBSD

D31126.diff
No OneTemporary

D31126.diff

Index: share/man/man9/vget.9
===================================================================
--- share/man/man9/vget.9
+++ share/man/man9/vget.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 24, 1996
+.Dd July 9, 2021
.Dt VGET 9
.Os
.Sh NAME
@@ -38,14 +38,16 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
-.Fn vget "struct vnode *vp" "int lockflag" "struct thread *td"
+.Fn vget "struct vnode *vp" "int flags"
.Sh DESCRIPTION
Get a vnode from the free list and increment its reference count.
-.Bl -tag -width lockflag
+.Bl -tag -width flags
.It Fa vp
The vnode to remove from the free list.
-.It Fa lockflag
-If non-zero, the vnode will also be locked.
+.It Fa flags
+Lock flags; see
+.Xr vn_lock 9
+for available lock flags.
.El
.Pp
When not in use, vnodes are kept on a free list.
@@ -62,6 +64,7 @@
.Fn vget
to increment the reference count and remove it from the free list.
.Sh SEE ALSO
+.Xr vn_lock 9 ,
.Xr vnode 9 ,
.Xr vput 9 ,
.Xr vref 9 ,

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 7:34 AM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14655290
Default Alt Text
D31126.diff (974 B)

Event Timeline