summaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_lookup.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/ufs/ufs/ufs_lookup.c b/sys/ufs/ufs/ufs_lookup.c
index 7340d071ad3..0b05f1dd2ef 100644
--- a/sys/ufs/ufs/ufs_lookup.c
+++ b/sys/ufs/ufs/ufs_lookup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs_lookup.c,v 1.24 2004/01/06 04:22:59 tedu Exp $ */
+/* $OpenBSD: ufs_lookup.c,v 1.25 2004/01/09 03:01:03 tedu Exp $ */
/* $NetBSD: ufs_lookup.c,v 1.7 1996/02/09 22:36:06 christos Exp $ */
/*
@@ -624,10 +624,6 @@ found:
VOP_UNLOCK(pdp, 0, p);
cnp->cn_flags |= PDIRUNLOCK;
}
- vref(vdp);
- if (tdp->v_parent)
- vrele(tdp->v_parent);
- tdp->v_parent = vdp;
*vpp = tdp;
}