Trim a couple of panic messages.
This commit is contained in:
parent
908ea20751
commit
5396f9ec5a
@ -1138,18 +1138,12 @@ witness_checkorder(struct lock_object *lock, int flags, const char *file,
|
||||
iclass = LOCK_CLASS(interlock);
|
||||
lock1 = find_instance(lock_list, interlock);
|
||||
if (lock1 == NULL)
|
||||
kassert_panic(
|
||||
"interlock (%s) %s not locked while locking"
|
||||
" %s @ %s:%d",
|
||||
kassert_panic("interlock (%s) %s not locked @ %s:%d",
|
||||
iclass->lc_name, interlock->lo_name,
|
||||
flags & LOP_EXCLUSIVE ? "exclusive" : "shared",
|
||||
fixup_filename(file), line);
|
||||
else if ((lock1->li_flags & LI_RECURSEMASK) != 0)
|
||||
kassert_panic(
|
||||
"interlock (%s) %s recursed while locking %s"
|
||||
" @ %s:%d",
|
||||
kassert_panic("interlock (%s) %s recursed @ %s:%d",
|
||||
iclass->lc_name, interlock->lo_name,
|
||||
flags & LOP_EXCLUSIVE ? "exclusive" : "shared",
|
||||
fixup_filename(file), line);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user