summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/union
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-11-13 20:58:17 +0000
committereivind <eivind@FreeBSD.org>1999-11-13 20:58:17 +0000
commit4ce73d70968875fa0c07f07e90a2bdcb84726bd6 (patch)
tree1a5eba3223a453fbc8060d31521181433ce7f3f3 /sys/miscfs/union
parent91b25fa7a9d94c9097d6ebf1d8ec6b1a332f8e04 (diff)
downloadFreeBSD-src-4ce73d70968875fa0c07f07e90a2bdcb84726bd6.zip
FreeBSD-src-4ce73d70968875fa0c07f07e90a2bdcb84726bd6.tar.gz
Remove WILLRELE from VOP_SYMLINK
Note: Previous commit to these files (except coda_vnops and devfs_vnops) that claimed to remove WILLRELE from VOP_RENAME actually removed it from VOP_MKNOD.
Diffstat (limited to 'sys/miscfs/union')
-rw-r--r--sys/miscfs/union/union_vnops.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/miscfs/union/union_vnops.c b/sys/miscfs/union/union_vnops.c
index a7af32b..7f9d8ee 100644
--- a/sys/miscfs/union/union_vnops.c
+++ b/sys/miscfs/union/union_vnops.c
@@ -1622,11 +1622,8 @@ union_symlink(ap)
int error = EROFS;
if ((dvp = union_lock_upper(dun, p)) != NULLVP) {
- struct vnode *vp;
-
- error = VOP_SYMLINK(dvp, &vp, cnp, ap->a_vap, ap->a_target);
- /* vp is garbage whether an error occurs or not */
- *ap->a_vpp = NULLVP;
+ error = VOP_SYMLINK(dvp, ap->a_vpp, cnp, ap->a_vap,
+ ap->a_target);
union_unlock_upper(dvp, p);
}
return (error);
OpenPOWER on IntegriCloud