From eb8d0e01c07e0fde28d27299c1c15e23e4c56bfe Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Fri, 25 Mar 2005 09:56:56 +0000 Subject: [PATCH] - The td_locks check is currently broken with snapshots and possibly some case in unmount. Disable the KASSERT until these problems can be diagnosed. Sponsored by: Isilon Systems, Inc. --- sys/kern/subr_trap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 4574aad5e09..a484ad78085 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -133,8 +133,11 @@ userret(td, frame, oticks) * Let the scheduler adjust our priority etc. */ sched_userret(td); +#if 0 + /* This is not presently working. */ KASSERT(td->td_locks == 0, ("userret: Returning with %d locks held.", td->td_locks)); +#endif } /*