summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2018-06-07 13:37:29 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2018-06-07 13:37:29 +0000
commit380a152a55a793d5891fd063c5856fe955061263 (patch)
tree2a642715663fa28e52eb1702f889ef1cf10d584f /share/man/man9
parentfad718c914c60261c1c08c7123d69239f348d8ae (diff)
Make callers of VOP_CREATE(9) and VOP_MKNOD(9) responsible for
unlocking the directory vnode. OK mpi@, helg@
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/VOP_LOOKUP.99
1 files changed, 4 insertions, 5 deletions
diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9
index 49357b336a3..ce8286978c8 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.42 2018/06/04 19:42:54 kn Exp $
+.\" $OpenBSD: VOP_LOOKUP.9,v 1.43 2018/06/07 13:37:27 visa 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: June 4 2018 $
+.Dd $Mdocdate: June 7 2018 $
.Dt VOP_LOOKUP 9
.Os
.Sh NAME
@@ -472,6 +472,8 @@ The file name is in
.Fa cnp
and its permissions will be
.Fa vap .
+.Fa dvp
+must be locked.
.Pp
.It Fn VOP_FSYNC vp cred waitfor p
Flush any dirty buffers associated with
@@ -675,9 +677,6 @@ and attributes
.Fa vap
in the directory associated with the locked vnode
.Fa dvp .
-.Fa dvp
-will be unlocked on return (see
-.Xr vput 9 ) .
A pointer to the new, locked vnode will be returned in
.Fa *vpp
if