From owner-svn-src-head@freebsd.org  Wed May 22 16:24:40 2019
Return-Path: <owner-svn-src-head@freebsd.org>
Delivered-To: svn-src-head@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18B6915B0A2B;
 Wed, 22 May 2019 16:24:40 +0000 (UTC)
 (envelope-from asomers@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id AF95F8DBD5;
 Wed, 22 May 2019 16:24:39 +0000 (UTC)
 (envelope-from asomers@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 854DF1FF30;
 Wed, 22 May 2019 16:24:39 +0000 (UTC)
 (envelope-from asomers@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4MGOdYp039740;
 Wed, 22 May 2019 16:24:39 GMT (envelope-from asomers@FreeBSD.org)
Received: (from asomers@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4MGOdwc039739;
 Wed, 22 May 2019 16:24:39 GMT (envelope-from asomers@FreeBSD.org)
Message-Id: <201905221624.x4MGOdwc039739@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: asomers set sender to
 asomers@FreeBSD.org using -f
From: Alan Somers <asomers@FreeBSD.org>
Date: Wed, 22 May 2019 16:24:39 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Subject: svn commit: r348113 - head/share/man/man9
X-SVN-Group: head
X-SVN-Commit-Author: asomers
X-SVN-Commit-Paths: head/share/man/man9
X-SVN-Commit-Revision: 348113
X-SVN-Commit-Repository: base
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Rspamd-Queue-Id: AF95F8DBD5
X-Spamd-Bar: --
Authentication-Results: mx1.freebsd.org
X-Spamd-Result: default: False [-2.98 / 15.00];
 local_wl_from(0.00)[FreeBSD.org];
 NEURAL_HAM_MEDIUM(-1.00)[-0.999,0];
 NEURAL_HAM_LONG(-1.00)[-1.000,0];
 NEURAL_HAM_SHORT(-0.98)[-0.979,0];
 ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]
X-BeenThere: svn-src-head@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SVN commit messages for the src tree for head/-current
 <svn-src-head.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-head/>
List-Post: <mailto:svn-src-head@freebsd.org>
List-Help: <mailto:svn-src-head-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 22 May 2019 16:24:40 -0000

Author: asomers
Date: Wed May 22 16:24:39 2019
New Revision: 348113
URL: https://svnweb.freebsd.org/changeset/base/348113

Log:
  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
  MFC after:	3 days
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D20323

Modified:
  head/share/man/man9/VFS_FHTOVP.9

Modified: head/share/man/man9/VFS_FHTOVP.9
==============================================================================
--- head/share/man/man9/VFS_FHTOVP.9	Wed May 22 15:56:41 2019	(r348112)
+++ head/share/man/man9/VFS_FHTOVP.9	Wed May 22 16:24:39 2019	(r348113)
@@ -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