summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-05-22 21:08:22 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-05-22 21:08:22 +0000
commitf98eeffc8cfb62c025f710e68d58393f5900edb6 (patch)
tree712dfd7cac47518bba3d3ed0af9fed48734a7013 /sys/kern
parent6f608e734569de9dad502c41d020893ea96cdc0f (diff)
change VOP_CLOSE to take a locked vnode
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vnode_if.src6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src
index 71eee3b245a..e54c6221321 100644
--- a/sys/kern/vnode_if.src
+++ b/sys/kern/vnode_if.src
@@ -1,4 +1,4 @@
-# $OpenBSD: vnode_if.src,v 1.24 2003/11/08 19:17:28 jmc Exp $
+# $OpenBSD: vnode_if.src,v 1.25 2005/05/22 21:08:21 pedro Exp $
# $NetBSD: vnode_if.src,v 1.10 1996/05/11 18:26:27 mycroft Exp $
#
# Copyright (c) 1992, 1993
@@ -120,11 +120,11 @@ vop_open {
};
#
-#% close vp U U U
+#% close vp L L L
#
vop_close {
- IN struct vnode *vp;
+ IN SHOULDBELOCKED struct vnode *vp;
IN int fflag;
IN struct ucred *cred;
IN struct proc *p;