Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2019 16:25:16 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r348468 - stable/12/share/man/man9
Message-ID:  <201905311625.x4VGPGTR024312@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Fri May 31 16:25:16 2019
New Revision: 348468
URL: https://svnweb.freebsd.org/changeset/base/348468

Log:
  MFC r348113:
  
  Update VFS_FHTOVP(9) with the flags argument
  
  Revison 222167 added a new argument to VFS_FHTOVP. This revision updates the
  man page to match.
  
  Reviewed by:	rmacklem
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D20323

Modified:
  stable/12/share/man/man9/VFS_FHTOVP.9
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/share/man/man9/VFS_FHTOVP.9
==============================================================================
--- stable/12/share/man/man9/VFS_FHTOVP.9	Fri May 31 16:24:51 2019	(r348467)
+++ stable/12/share/man/man9/VFS_FHTOVP.9	Fri May 31 16:25:16 2019	(r348468)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 4, 2010
+.Dd May 19, 2019
 .Dt VFS_FHTOVP 9
 .Os
 .Sh NAME
@@ -39,18 +39,26 @@
 .In sys/mount.h
 .In sys/vnode.h
 .Ft int
-.Fn VFS_FHTOVP "struct mount *mp" "struct fid *fhp" "struct vnode **vpp"
+.Fn VFS_FHTOVP "struct mount *mp" "struct fid *fhp" "int flags" "struct vnode **vpp"
 .Sh DESCRIPTION
 The
 .Fn VFS_FHTOVP
 macro is used by the NFS server to turn an NFS filehandle into a vnode.
 .Pp
 The arguments it expects are:
-.Bl -tag -width vpp
+.Bl -tag -width flags
 .It Fa mp
 The file system.
 .It Fa fhp
 The filehandle to convert.
+.It Fa flags
+Additional locking flags to pass through to
+.Xr vget 9 .
+File systems are allowed to ignore
+.Ar flags
+and use
+.Dv LK_EXCLUSIVE
+instead.
 .It Fa vpp
 Return parameter for the new locked vnode.
 .El



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905311625.x4VGPGTR024312>