summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-03-25 09:56:56 +0000
committerjeff <jeff@FreeBSD.org>2005-03-25 09:56:56 +0000
commit759d7ddf040ce2cade30e2cfddf7c6b7463b320c (patch)
tree8f23a78da3b61315d9e59bd49536dcbbbdcdace0 /sys/kern/subr_trap.c
parentecb5e1650a68a798524e77b630289bdeb6fdf910 (diff)
downloadFreeBSD-src-759d7ddf040ce2cade30e2cfddf7c6b7463b320c.zip
FreeBSD-src-759d7ddf040ce2cade30e2cfddf7c6b7463b320c.tar.gz
- 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.
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 4574aad..a484ad7 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
}
/*
OpenPOWER on IntegriCloud