diff options
author | jeff <jeff@FreeBSD.org> | 2005-08-03 04:48:22 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-08-03 04:48:22 +0000 |
commit | 08fb635b5502e48aa8292e7f376c46f0ba1db8cc (patch) | |
tree | 9f832940cb85883a5821c06fb2bfd2f54759028d /sys/kern/vfs_default.c | |
parent | 0b6d38e89f73861edc118b9f13efec01813c8e6a (diff) | |
download | FreeBSD-src-08fb635b5502e48aa8292e7f376c46f0ba1db8cc.zip FreeBSD-src-08fb635b5502e48aa8292e7f376c46f0ba1db8cc.tar.gz |
- 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 <antoine.brodin@laposte.net>
Diffstat (limited to 'sys/kern/vfs_default.c')
-rw-r--r-- | sys/kern/vfs_default.c | 5 |
1 files changed, 0 insertions, 5 deletions
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. */ |