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 ,