From f01beb610a1bb098183cf2f9837eed78fb33c386 Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Wed, 12 Aug 1998 21:42:54 +0000 Subject: [PATCH] "The releaseing of the reference and lock is not temporary and belongs where it is. The reference and lock(s) are acquired just above the code in VREF() and relookup()." Submitted by: Michael Hancock --- sys/gnu/ext2fs/ext2_vnops.c | 1 - sys/gnu/fs/ext2fs/ext2_vnops.c | 1 - sys/ufs/ufs/ufs_vnops.c | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/gnu/ext2fs/ext2_vnops.c b/sys/gnu/ext2fs/ext2_vnops.c index da68181ad99d..07e94b84ef9f 100644 --- a/sys/gnu/ext2fs/ext2_vnops.c +++ b/sys/gnu/ext2fs/ext2_vnops.c @@ -475,7 +475,6 @@ abortit: return (ENOENT); } error = VOP_REMOVE(fdvp, fvp, fcnp); - /* XXX - temporarily preserve previous behavior */ if (fdvp == fvp) vrele(fdvp); else diff --git a/sys/gnu/fs/ext2fs/ext2_vnops.c b/sys/gnu/fs/ext2fs/ext2_vnops.c index da68181ad99d..07e94b84ef9f 100644 --- a/sys/gnu/fs/ext2fs/ext2_vnops.c +++ b/sys/gnu/fs/ext2fs/ext2_vnops.c @@ -475,7 +475,6 @@ abortit: return (ENOENT); } error = VOP_REMOVE(fdvp, fvp, fcnp); - /* XXX - temporarily preserve previous behavior */ if (fdvp == fvp) vrele(fdvp); else diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index ea3b0b328fe5..486401e2d5d2 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ufs_vnops.c 8.27 (Berkeley) 5/27/95 - * $Id: ufs_vnops.c,v 1.97 1998/07/27 15:37:00 bde Exp $ + * $Id: ufs_vnops.c,v 1.98 1998/08/12 20:46:47 julian Exp $ */ #include "opt_quota.h" @@ -964,7 +964,6 @@ abortit: return (ENOENT); } error = VOP_REMOVE(fdvp, fvp, fcnp); - /* XXX - temporarily simulate previous rele behavior */ if (fdvp == fvp) vrele(fdvp); else