Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Change vnode operations create, mknod, mkdir and sy...
details: https://anonhg.NetBSD.org/src/rev/2eaf54dd5a4a
branches: trunk
changeset: 326242:2eaf54dd5a4a
user: hannken <hannken%NetBSD.org@localhost>
date: Thu Jan 23 10:11:55 2014 +0000
description:
Change vnode operations create, mknod, mkdir and symlink to return
the resulting vnode *vpp unlocked.
Discussed on tech-kern@
diffstat:
sys/kern/vnode_if.src | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (69 lines):
diff -r da98a786ea13 -r 2eaf54dd5a4a sys/kern/vnode_if.src
--- a/sys/kern/vnode_if.src Thu Jan 23 07:26:50 2014 +0000
+++ b/sys/kern/vnode_if.src Thu Jan 23 10:11:55 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: vnode_if.src,v 1.64 2014/01/17 10:52:36 hannken Exp $
+# $NetBSD: vnode_if.src,v 1.65 2014/01/23 10:11:55 hannken Exp $
#
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
@@ -89,12 +89,12 @@
#
#% create dvp L L L
-#% create vpp - L -
+#% create vpp - U -
#
#! create cnp CREATE, LOCKPARENT
#
vop_create {
- VERSION 2
+ VERSION 3
IN LOCKED=YES struct vnode *dvp;
OUT WILLMAKE struct vnode **vpp;
IN struct componentname *cnp;
@@ -103,12 +103,12 @@
#
#% mknod dvp L L L
-#% mknod vpp - L -
+#% mknod vpp - U -
#
#! mknod cnp CREATE, LOCKPARENT
#
vop_mknod {
- VERSION 2
+ VERSION 3
IN LOCKED=YES struct vnode *dvp;
OUT WILLMAKE struct vnode **vpp;
IN struct componentname *cnp;
@@ -301,12 +301,12 @@
#
#% mkdir dvp L L L
-#% mkdir vpp - L -
+#% mkdir vpp - U -
#
#! mkdir cnp CREATE, LOCKPARENT
#
vop_mkdir {
- VERSION 2
+ VERSION 3
IN LOCKED=YES struct vnode *dvp;
OUT WILLMAKE struct vnode **vpp;
IN struct componentname *cnp;
@@ -327,12 +327,12 @@
#
#% symlink dvp L L L
-#% symlink vpp - L -
+#% symlink vpp - U -
#
#! symlink cnp CREATE, LOCKPARENT
#
vop_symlink {
- VERSION 2
+ VERSION 3
IN LOCKED=YES struct vnode *dvp;
OUT WILLMAKE struct vnode **vpp;
IN struct componentname *cnp;
Home |
Main Index |
Thread Index |
Old Index