If we've panic'd already, then just bail in lockmgr rather than blocking or
possibly panic'ing again.
This commit is contained in:
parent
2b6a0c4fcd
commit
3f085c228e
@ -242,6 +242,11 @@ debuglockmgr(lkp, flags, interlkp, p, name, file, line)
|
||||
mtx_unlock(interlkp);
|
||||
}
|
||||
|
||||
if (panicstr != NULL) {
|
||||
mtx_unlock(lkp->lk_interlock);
|
||||
return (0);
|
||||
}
|
||||
|
||||
extflags = (flags | lkp->lk_flags) & LK_EXTFLG_MASK;
|
||||
|
||||
switch (flags & LK_TYPE_MASK) {
|
||||
|
Loading…
Reference in New Issue
Block a user