Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Correct comment about how LOCKPARENT affects VOP_LO...
details: https://anonhg.NetBSD.org/src/rev/9bd6974dca48
branches: trunk
changeset: 473899:9bd6974dca48
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Mon Jun 21 02:28:46 1999 +0000
description:
Correct comment about how LOCKPARENT affects VOP_LOOKUP
diffstat:
sys/kern/vnode_if.src | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 557b7f0338d4 -r 9bd6974dca48 sys/kern/vnode_if.src
--- a/sys/kern/vnode_if.src Mon Jun 21 01:44:14 1999 +0000
+++ b/sys/kern/vnode_if.src Mon Jun 21 02:28:46 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: vnode_if.src,v 1.16 1999/03/22 16:57:37 sommerfe Exp $
+# $NetBSD: vnode_if.src,v 1.17 1999/06/21 02:28:46 sommerfeld Exp $
#
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
@@ -61,7 +61,8 @@
#
# More details:
# On success, adds a reference to *vpp so it doesn't evaporate.
-# If LOCKPARENT is set in cnp, dvp is returned locked even on failure.
+# On failure, *vpp is NULL, and *dvp is left locked.
+# If LOCKPARENT is set in cnp, dvp is returned locked even on success.
# otherwise it is unlocked (unless *vpp == dvp on return)
#
# *vpp is always locked on return if the operation succeeds.
Home |
Main Index |
Thread Index |
Old Index