summaryrefslogtreecommitdiff
path: root/sys/kern/vnode_if.src
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2017-04-11 14:24:59 +0000
committerriastradh <riastradh@NetBSD.org>2017-04-11 14:24:59 +0000
commitdbfbfc16648f9aeb366b45aee0fcdfbffab23e74 (patch)
tree4e52f182e411cfb7e4a6b93b830896b5e542ada3 /sys/kern/vnode_if.src
parent867deeca182d20a1c6884cc5613f5c7049725ab7 (diff)
Make VOP_INACTIVE preserve vnode lock on return.
Discussed on tech-kern: https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html Ride 7.99.68, a bumpy bus of incremental vfs improvements!
Diffstat (limited to 'sys/kern/vnode_if.src')
-rw-r--r--sys/kern/vnode_if.src7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src
index d04e9d8e214..5456c338d1b 100644
--- a/sys/kern/vnode_if.src
+++ b/sys/kern/vnode_if.src
@@ -1,4 +1,4 @@
-# $NetBSD: vnode_if.src,v 1.70 2017/02/22 09:45:51 hannken Exp $
+# $NetBSD: vnode_if.src,v 1.71 2017/04/11 14:25:00 riastradh Exp $
#
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
@@ -384,10 +384,11 @@ vop_abortop {
};
#
-#% inactive vp L U U
+#% inactive vp L L L
#
vop_inactive {
- IN LOCKED=YES WILLUNLOCK struct vnode *vp;
+ VERSION 2
+ IN LOCKED=YES struct vnode *vp;
INOUT bool *recycle;
};