If we've panic'd already, then just bail in lockmgr rather than blocking or

possibly panic'ing again.
This commit is contained in:
jhb 2001-08-10 23:29:15 +00:00
parent de6d7f13db
commit e1cf3a4743

View File

@ -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) {