- Add the character "E" to the understood lock types. This means

the VOP requires an exclusive lock.

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
Jeff Roberson 2005-04-11 15:15:03 +00:00
parent 22a8b40510
commit 680a1ec631

View File

@ -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!
}