--- src/sys/vfs/gnu/ext2fs/ext2_vnops.c 2004/11/12 00:09:30 1.17 +++ src/sys/vfs/gnu/ext2fs/ext2_vnops.c 2004/12/22 02:17:07 1.18 @@ -507,6 +507,7 @@ abortit: */ vref(tdvp); error = ext2_checkpath(ip, dp, tcnp->cn_cred); + tcnp->cn_flags |= CNP_PDIRUNLOCK; if (error) { vrele(tdvp); goto out;