From 08fb635b5502e48aa8292e7f376c46f0ba1db8cc Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 3 Aug 2005 04:48:22 +0000 Subject: - Replace the series of DEBUG_LOCKS hacks which tried to save the vn_lock caller by saving the stack of the last locker/unlocker in lockmgr. We also put the stack in KTR at the moment. Contributed by: Antoine Brodin --- sys/kern/vfs_default.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/kern/vfs_default.c') diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c index e338863..8369fc5 100644 --- a/sys/kern/vfs_default.c +++ b/sys/kern/vfs_default.c @@ -254,12 +254,7 @@ vop_stdlock(ap) { struct vnode *vp = ap->a_vp; -#ifndef DEBUG_LOCKS return (lockmgr(vp->v_vnlock, ap->a_flags, VI_MTX(vp), ap->a_td)); -#else - return (debuglockmgr(vp->v_vnlock, ap->a_flags, VI_MTX(vp), - ap->a_td, "vop_stdlock", vp->filename, vp->line)); -#endif } /* See above. */ -- cgit v1.1