- 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:
parent
22a8b40510
commit
680a1ec631
@ -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!
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user