Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 05:26:10 +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-11@freebsd.org
Subject:   svn commit: r326679 - stable/11/share/man/man9
Message-ID:  <201712080526.vB85QAgT030832@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Fri Dec  8 05:26:10 2017
New Revision: 326679
URL: https://svnweb.freebsd.org/changeset/base/326679

Log:
  MFC r325946:
  
  VOP_LOOKUP.9: update locking info
  
  The old description has been inaccurate since at least 243271, if not
  before.
  
  Submitted by:	will
  Reviewed by:	kib
  Sponsored by:	Spectra Logic Corp
  Differential Revision:	https://reviews.freebsd.org/D13108

Modified:
  stable/11/share/man/man9/VOP_LOOKUP.9
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/share/man/man9/VOP_LOOKUP.9
==============================================================================
--- stable/11/share/man/man9/VOP_LOOKUP.9	Fri Dec  8 05:24:49 2017	(r326678)
+++ stable/11/share/man/man9/VOP_LOOKUP.9	Fri Dec  8 05:26:10 2017	(r326679)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd March 27, 2017
+.Dd November 17, 2017
 .Dt VOP_LOOKUP 9
 .Os
 .Sh NAME
@@ -121,19 +121,9 @@ If not at end, add name to cache; if at end and neithe
 nor deleting, add name to cache.
 .Ed
 .Sh LOCKS
-The directory,
+The directory
 .Fa dvp
-should be locked on entry.
-If an error (note: the return value
-.Er EJUSTRETURN
-is not considered an error)
-is detected, it will be returned locked.
-Otherwise, it will be unlocked unless both
-.Dv LOCKPARENT
-and
-.Dv ISLASTCN
-are specified in
-.Fa cnp->cn_flags .
+should be locked on entry and exit, regardless of error condition.
 If an entry is found in the directory, it will be returned locked.
 .Sh RETURN VALUES
 Zero is returned with



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