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
de6d7f13db
commit
e1cf3a4743
@ -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