summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-08-12 21:42:54 +0000
committermsmith <msmith@FreeBSD.org>1998-08-12 21:42:54 +0000
commit64b624ba3ecda9abea7854a191d37ee2dd64b270 (patch)
tree5af97d1ce605cf40ff191d9e7b270cc42f5d9cde /sys/gnu
parent4c11bd9897e055091c31d225100831676b915dd4 (diff)
downloadFreeBSD-src-64b624ba3ecda9abea7854a191d37ee2dd64b270.zip
FreeBSD-src-64b624ba3ecda9abea7854a191d37ee2dd64b270.tar.gz
"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 <michaelh@cet.co.jp>
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_vnops.c1
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vnops.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/gnu/ext2fs/ext2_vnops.c b/sys/gnu/ext2fs/ext2_vnops.c
index da68181..07e94b8 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 da68181..07e94b8 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
OpenPOWER on IntegriCloud