From 085bb7f99e128a7516588b9f809fda911583c87c Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 26 Feb 2001 17:34:19 +0000 Subject: Since VLOCKSWORK is only set when LOCKDEBUG is defined, ifdef the VOP_ISLOCKED code with LOCKDEBUG instead of DIAGNOSTIC. --- sys/kern/vnode_if.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/vnode_if.sh') diff --git a/sys/kern/vnode_if.sh b/sys/kern/vnode_if.sh index 7a75efae2d7..b3ce5700ef6 100644 --- a/sys/kern/vnode_if.sh +++ b/sys/kern/vnode_if.sh @@ -33,7 +33,7 @@ copyright="\ * SUCH DAMAGE. */ " -SCRIPT_ID='$OpenBSD: vnode_if.sh,v 1.7 2001/02/26 17:12:27 art Exp $' +SCRIPT_ID='$OpenBSD: vnode_if.sh,v 1.8 2001/02/26 17:34:18 art Exp $' # SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.9 1996/02/29 20:58:22 cgd Exp $' # Script to produce VFS front-end sugar. @@ -317,7 +317,7 @@ function doit() { for (i=0; iv_flag & VLOCKSWORK) && !VOP_ISLOCKED(%s))\n", argname[i], argname[i]); printf ("\t\tpanic(\"%s: %s\");\n", name, argname[i]); printf ("#endif\n"); -- cgit v1.2.3