summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-11-12 03:34:28 +0000
committereivind <eivind@FreeBSD.org>1999-11-12 03:34:28 +0000
commit21fff7b1c21bef91f4e2371aa79dee6d9c899b3d (patch)
treebbd7a274a33855ba0b75b1c22be91fb6dfc52472 /sys/fs
parent9a30e94971558bbe2bf2f4450cfeb7f8dc8b5e89 (diff)
downloadFreeBSD-src-21fff7b1c21bef91f4e2371aa79dee6d9c899b3d.zip
FreeBSD-src-21fff7b1c21bef91f4e2371aa79dee6d9c899b3d.tar.gz
Remove WILLRELE from VOP_RENAME
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/unionfs/union_vnops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c
index 0e74f39..a7af32b 100644
--- a/sys/fs/unionfs/union_vnops.c
+++ b/sys/fs/unionfs/union_vnops.c
@@ -705,8 +705,7 @@ union_mknod(ap)
if ((dvp = union_lock_upper(dun, cnp->cn_proc)) != NULL) {
struct vnode *vp;
- error = VOP_MKNOD(dvp, &vp, cnp, ap->a_vap);
- /* vp is garbage whether an error occurs or not */
+ error = VOP_MKNOD(dvp, ap->a_vpp, cnp, ap->a_vap);
union_unlock_upper(dvp, cnp->cn_proc);
}
return (error);
OpenPOWER on IntegriCloud