From 20e967f7724ec44a748393fd5170cce80bae86de Mon Sep 17 00:00:00 2001
From: Dima Dorfman
Date: Mon, 3 Sep 2001 16:56:21 +0000
Subject: [PATCH] VFS_ABORTOP hasn't existed since 1999/12/15.
---
share/man/man9/VOP_LINK.9 | 4 ----
share/man/man9/VOP_LOOKUP.9 | 1 -
share/man/man9/VOP_RENAME.9 | 3 ---
3 files changed, 8 deletions(-)
diff --git a/share/man/man9/VOP_LINK.9 b/share/man/man9/VOP_LINK.9
index 183df56f4f2..0a1d89c77fa 100644
--- a/share/man/man9/VOP_LINK.9
+++ b/share/man/man9/VOP_LINK.9
@@ -75,12 +75,10 @@ vop_link(struct vnode *dvp, struct vnode *vp, struct componentname *cnp)
int error = 0;
if (vp->v_mount != dvp->v_mount) {
- VOP_ABORTOP(dvp, cnp);
error = EXDEV;
goto out2;
}
if (vp != dvp && (error = VOP_LOCK(vp))) {
- VOP_ABORTOP(dvp, cnp);
goto out2;
}
@@ -89,13 +87,11 @@ vop_link(struct vnode *dvp, struct vnode *vp, struct componentname *cnp)
*/
if (vp would have too many links) {
- VOP_ABORTOP(dvp, cnp);
error = EMLINK;
goto out1;
}
if (vp is immutable) {
- VOP_ABORTOP(dvp, cnp);
error = EPERM;
goto out1;
}
diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9
index 295acfa1b8d..47565d5de40 100644
--- a/share/man/man9/VOP_LOOKUP.9
+++ b/share/man/man9/VOP_LOOKUP.9
@@ -430,7 +430,6 @@ or
operation would be successful
.El
.Sh SEE ALSO
-.Xr VOP_ABORTOP 9 ,
.Xr VOP_ACCESS 9 ,
.Xr VOP_CREATE 9 ,
.Xr VOP_MKDIR 9 ,
diff --git a/share/man/man9/VOP_RENAME.9 b/share/man/man9/VOP_RENAME.9
index 9985247ae88..e12bd98301f 100644
--- a/share/man/man9/VOP_RENAME.9
+++ b/share/man/man9/VOP_RENAME.9
@@ -85,14 +85,12 @@ vop_rename(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp,
if (fvp->v_mount != tdvp->v_mount) {
error = EXDEV;
abortit:
- VOP_ABORTOP(tdvp, tcnp);
if (tdvp == tvp)
vrele(tdvp);
else
vput(tdvp);
if (tvp)
vput(tvp);
- VOP_ABORTOP(fdvp, fcnp);
vrele(fdvp);
vrele(fvp);
return error;
@@ -115,7 +113,6 @@ vop_rename(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp,
/*
* Release destination.
*/
- VOP_ABORTOP(tdvp, tcnp);
vput(tdvp);
vput(tvp);