From 21fff7b1c21bef91f4e2371aa79dee6d9c899b3d Mon Sep 17 00:00:00 2001 From: eivind Date: Fri, 12 Nov 1999 03:34:28 +0000 Subject: Remove WILLRELE from VOP_RENAME --- sys/fs/unionfs/union_vnops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/fs') 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); -- cgit v1.1