diff options
author | eivind <eivind@FreeBSD.org> | 1999-11-13 20:58:17 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1999-11-13 20:58:17 +0000 |
commit | 4ce73d70968875fa0c07f07e90a2bdcb84726bd6 (patch) | |
tree | 1a5eba3223a453fbc8060d31521181433ce7f3f3 /sys/nfsclient | |
parent | 91b25fa7a9d94c9097d6ebf1d8ec6b1a332f8e04 (diff) | |
download | FreeBSD-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/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_vnops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index 816273e..b8fbc8b 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -1818,8 +1818,10 @@ nfs_symlink(ap) nfsm_wcc_data(dvp, wccflag); } nfsm_reqdone; - if (newvp) + if (newvp && error) vput(newvp); + else + *ap->a_vpp = newvp; VTONFS(dvp)->n_flag |= NMODIFIED; if (!wccflag) VTONFS(dvp)->n_attrstamp = 0; |