From 49ef4934e7f23f270cb8bbd20167152b85d1d4e8 Mon Sep 17 00:00:00 2001 From: helg Date: Tue, 28 Nov 2017 11:17:02 +0000 Subject: Correct the description for VOP_RENAME to reflect that tvp is unlocked on exit. ok mpi@ --- share/man/man9/VOP_LOOKUP.9 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'share') diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9 index 83b6da2b374..dabb5ff8306 100644 --- a/share/man/man9/VOP_LOOKUP.9 +++ b/share/man/man9/VOP_LOOKUP.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: VOP_LOOKUP.9,v 1.38 2017/04/26 05:55:27 jmc Exp $ +.\" $OpenBSD: VOP_LOOKUP.9,v 1.39 2017/11/28 11:17:01 helg Exp $ .\" .\" Copyright (c) 2003 Ted Unangst .\" Copyright (c) 2000, 2001 The NetBSD Foundation, Inc. @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: April 26 2017 $ +.Dd $Mdocdate: November 28 2017 $ .Dt VOP_LOOKUP 9 .Os .Sh NAME @@ -855,7 +855,8 @@ on return. If not .Dv NULL , .Fa tvp -will be locked on return as well. +will be unlocked on return (see +.Xr vput 9 ) . Upon success, zero is returned; otherwise, an appropriate error code is returned. .Pp -- cgit v1.2.3