Missing vput when cross-device link error is detected in nfs_link.
This commit is contained in:
parent
b6b74f2f4e
commit
d25ad74791
@ -1704,6 +1704,7 @@ nfs_link(ap)
|
||||
|
||||
if (vp->v_mount != tdvp->v_mount) {
|
||||
VOP_ABORTOP(tdvp, cnp);
|
||||
vput(tdvp);
|
||||
return (EXDEV);
|
||||
}
|
||||
|
||||
|
@ -1704,6 +1704,7 @@ nfs_link(ap)
|
||||
|
||||
if (vp->v_mount != tdvp->v_mount) {
|
||||
VOP_ABORTOP(tdvp, cnp);
|
||||
vput(tdvp);
|
||||
return (EXDEV);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user