diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-08-10 23:29:15 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-08-10 23:29:15 +0000 |
| commit | 3f085c228e2e846ea2f18f196525386a47ec5a62 (patch) | |
| tree | b72268b23d8e510c5ab5cf93ea9fd117254c9c6c /sys/kern/kern_lock.c | |
| parent | 2b6a0c4fcd579691877c8fed366421b122ce8e50 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_lock.c')
| -rw-r--r-- | sys/kern/kern_lock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index f5bb326fac87..147508cf9f16 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -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) { |
