From 680a1ec63132635c09bb3d03670dd53082f2f5c0 Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Mon, 11 Apr 2005 15:15:03 +0000 Subject: - Add the character "E" to the understood lock types. This means the VOP requires an exclusive lock. Sponsored by: Isilon Systems, Inc. --- sys/tools/vnode_if.awk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/tools/vnode_if.awk') diff --git a/sys/tools/vnode_if.awk b/sys/tools/vnode_if.awk index 97cefd9456b2..2d6d1e15ed6d 100644 --- a/sys/tools/vnode_if.awk +++ b/sys/tools/vnode_if.awk @@ -78,6 +78,8 @@ function add_debug_code(name, arg, pos, ind) printc(ind"ASSERT_VOP_LOCKED(" star "a->a_"arg", \""uname"\");"); else if (lockdata[name, arg, pos] == "U") printc(ind"ASSERT_VOP_UNLOCKED(" star "a->a_"arg", \""uname"\");"); + else if (lockdata[name, arg, pos] == "E") + printc(ind"ASSERT_VOP_ELOCKED(" star "a->a_"arg", \""uname"\");"); else if (0) { # XXX More checks! } -- cgit v1.2.3