Page MenuHomeFreeBSD

D38091.diff
No OneTemporary

D38091.diff

diff --git a/sys/tools/vnode_if.awk b/sys/tools/vnode_if.awk
--- a/sys/tools/vnode_if.awk
+++ b/sys/tools/vnode_if.awk
@@ -73,14 +73,14 @@
else
star = "";
if (lockdata[name, arg, pos] && (lockdata[name, arg, pos] != "-")) {
- printc(ind"ASSERT_VI_UNLOCKED("star"a->a_"arg", \""uname"\");");
+ printc(ind"ASSERT_VI_UNLOCKED("star"a->a_"arg", \""uname" "pos" ("arg")\");");
# Add assertions for locking
if (lockdata[name, arg, pos] == "L")
- printc(ind"ASSERT_VOP_LOCKED(" star "a->a_"arg", \""uname"\");");
+ printc(ind"ASSERT_VOP_LOCKED(" star "a->a_"arg", \""uname" "pos" ("arg")\");");
else if (lockdata[name, arg, pos] == "U")
- printc(ind"ASSERT_VOP_UNLOCKED(" star "a->a_"arg", \""uname"\");");
+ printc(ind"ASSERT_VOP_UNLOCKED(" star "a->a_"arg", \""uname" "pos" ("arg")\");");
else if (lockdata[name, arg, pos] == "E")
- printc(ind"ASSERT_VOP_ELOCKED(" star "a->a_"arg", \""uname"\");");
+ printc(ind"ASSERT_VOP_ELOCKED(" star "a->a_"arg", \""uname" "pos" ("arg")\");");
else if (0) {
# XXX More checks!
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 11:49 PM (20 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14706791
Default Alt Text
D38091.diff (1 KB)

Event Timeline