Fix VOP_MKNOD for loss of WILLRELE. I don't know how I could have missed

this in the first place :-(

Noticed by:	bde
This commit is contained in:
eivind 1999-11-20 16:09:10 +00:00
parent 20fff4fee1
commit a065c0e506
2 changed files with 2 additions and 14 deletions

View File

@ -1325,13 +1325,7 @@ nfs_mknod(ap)
struct vattr *a_vap;
} */ *ap;
{
struct vnode *newvp;
int error;
error = nfs_mknodrpc(ap->a_dvp, &newvp, ap->a_cnp, ap->a_vap);
if (!error)
vput(newvp);
return (error);
return nfs_mknodrpc(ap->a_dvp, ap->a_vpp, ap->a_cnp, ap->a_vap);
}
static u_long create_verf;

View File

@ -1325,13 +1325,7 @@ nfs_mknod(ap)
struct vattr *a_vap;
} */ *ap;
{
struct vnode *newvp;
int error;
error = nfs_mknodrpc(ap->a_dvp, &newvp, ap->a_cnp, ap->a_vap);
if (!error)
vput(newvp);
return (error);
return nfs_mknodrpc(ap->a_dvp, ap->a_vpp, ap->a_cnp, ap->a_vap);
}
static u_long create_verf;