VOP_ABORTUP() appears to be called with the wrong vnode. The other callers
that I checked (eg: ufs_link()) do the ABORTOP on the directory rather than the file itself. After Michael Hancock's patches, the abortop doesn't seem all that critial now since something else will free the pathname buffer.
This commit is contained in:
parent
edfa292924
commit
9e8799c9cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36481
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs_vnops.c 8.16 (Berkeley) 5/27/95
|
||||
* $Id: nfs_vnops.c,v 1.89 1998/05/19 07:11:26 peter Exp $
|
||||
* $Id: nfs_vnops.c,v 1.90 1998/05/30 16:33:57 peter Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -1670,7 +1670,7 @@ nfs_link(ap)
|
||||
int v3 = NFS_ISV3(vp);
|
||||
|
||||
if (vp->v_mount != tdvp->v_mount) {
|
||||
VOP_ABORTOP(vp, cnp);
|
||||
VOP_ABORTOP(tdvp, cnp);
|
||||
return (EXDEV);
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs_vnops.c 8.16 (Berkeley) 5/27/95
|
||||
* $Id: nfs_vnops.c,v 1.89 1998/05/19 07:11:26 peter Exp $
|
||||
* $Id: nfs_vnops.c,v 1.90 1998/05/30 16:33:57 peter Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -1670,7 +1670,7 @@ nfs_link(ap)
|
||||
int v3 = NFS_ISV3(vp);
|
||||
|
||||
if (vp->v_mount != tdvp->v_mount) {
|
||||
VOP_ABORTOP(vp, cnp);
|
||||
VOP_ABORTOP(tdvp, cnp);
|
||||
return (EXDEV);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user