diff options
author | mckusick <mckusick@FreeBSD.org> | 1998-09-29 23:29:48 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 1998-09-29 23:29:48 +0000 |
commit | 74f40b1c410748fa6dde627310c77db7c4524d7a (patch) | |
tree | 9ac24e4f1e46f15ffca8f5b8c526d941675a520f /sys/nfs | |
parent | 17402e8897afa757a79c2fae7f24e638041df4f4 (diff) | |
download | FreeBSD-src-74f40b1c410748fa6dde627310c77db7c4524d7a.zip FreeBSD-src-74f40b1c410748fa6dde627310c77db7c4524d7a.tar.gz |
Missing vput when cross-device link error is detected in nfs_link.
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_vnops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c index ea0f110..0e99280 100644 --- a/sys/nfs/nfs_vnops.c +++ b/sys/nfs/nfs_vnops.c @@ -1704,6 +1704,7 @@ nfs_link(ap) if (vp->v_mount != tdvp->v_mount) { VOP_ABORTOP(tdvp, cnp); + vput(tdvp); return (EXDEV); } |