--- src/sys/vfs/procfs/procfs_vnops.c 2004/10/20 09:00:35 1.21 +++ src/sys/vfs/procfs/procfs_vnops.c 2004/11/12 00:09:47 1.22 @@ -757,9 +757,6 @@ out: if ((cnp->cn_flags & CNP_LOCKPARENT) == 0) { cnp->cn_flags |= CNP_PDIRUNLOCK; VOP_UNLOCK(dvp, 0, cnp->cn_td); - } else if ((cnp->cn_flags & CNP_ISLASTCN) == 0) { - cnp->cn_flags |= CNP_PDIRUNLOCK; - VOP_UNLOCK(dvp, 0, cnp->cn_td); } } return (error);