summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_vnops.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-04-27 09:17:11 +0000
committerjeff <jeff@FreeBSD.org>2005-04-27 09:17:11 +0000
commit18cd3a36d3344baec5b6f40c26bedef2817ca89a (patch)
tree0c6826514d03c6e97a27ca06d86e636fc87f40e2 /sys/kern/vfs_vnops.c
parent5ae67dae9ad4621ea416eb2a5e0f2437c375271e (diff)
downloadFreeBSD-src-18cd3a36d3344baec5b6f40c26bedef2817ca89a.zip
FreeBSD-src-18cd3a36d3344baec5b6f40c26bedef2817ca89a.tar.gz
- Stop checking vxthread, we've asserted that it was useless for several
weeks.
Diffstat (limited to 'sys/kern/vfs_vnops.c')
-rw-r--r--sys/kern/vfs_vnops.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index 084f310..0047df0 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -796,13 +796,11 @@ debug_vn_lock(vp, flags, td, filename, line)
{
int error;
- KASSERT(vp->v_vxthread != curthread,
- ("recursive vn_lock in inactive/reclaim."));
do {
if ((flags & LK_INTERLOCK) == 0)
VI_LOCK(vp);
if ((flags & LK_NOWAIT || (flags & LK_TYPE_MASK) == 0) &&
- vp->v_iflag & VI_DOOMED && vp->v_vxthread != td) {
+ vp->v_iflag & VI_DOOMED) {
VI_UNLOCK(vp);
return (ENOENT);
}
@@ -828,7 +826,7 @@ debug_vn_lock(vp, flags, td, filename, line)
* If RETRY is not set, we return ENOENT instead.
*/
if (error == 0 && vp->v_iflag & VI_DOOMED &&
- vp->v_vxthread != td && (flags & LK_RETRY) == 0) {
+ (flags & LK_RETRY) == 0) {
VOP_UNLOCK(vp, 0, td);
error = ENOENT;
break;
OpenPOWER on IntegriCloud