summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2009-12-15 17:04:01 +0000
committerBob Beck <beck@cvs.openbsd.org>2009-12-15 17:04:01 +0000
commit70d564abe741cd1f3082dd0a496e1cc70dc3c34b (patch)
tree02901074b88f83a47fc6023ee76843459324b757 /sys/nfs
parent694cf7cf7d0f5452afc6f140ff5fa6c0ee6c0b07 (diff)
back out previous fix, apparently neither art or i can fix anything right on the first try
vgone doesn't work in other cases of this. I must fix this slightly differntly
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_node.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/nfs/nfs_node.c b/sys/nfs/nfs_node.c
index f19f516e00a..94e7fd6640d 100644
--- a/sys/nfs/nfs_node.c
+++ b/sys/nfs/nfs_node.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_node.c,v 1.49 2009/12/15 16:20:07 beck Exp $ */
+/* $OpenBSD: nfs_node.c,v 1.50 2009/12/15 17:04:00 beck Exp $ */
/* $NetBSD: nfs_node.c,v 1.16 1996/02/18 11:53:42 fvdl Exp $ */
/*
@@ -124,7 +124,6 @@ loop:
np = RB_FIND(nfs_nodetree, &nmp->nm_ntree, &find);
if (np != NULL) {
- vgone(nvp); /*remove from mnt queue - don't leak vnodes*/
rw_exit_write(&nfs_hashlock);
goto loop;
}