summaryrefslogtreecommitdiffstats
path: root/share/man/man9/VOP_REMOVE.9
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-11-04 23:58:15 +0000
committerpjd <pjd@FreeBSD.org>2006-11-04 23:58:15 +0000
commit560cce74950eff15d5eb7cdda3c697b669c0685b (patch)
tree463618600e7a7493d8ad518fd19a5ccb01a1c691 /share/man/man9/VOP_REMOVE.9
parentc524521d2f579301e91dba59f2cab05751984415 (diff)
downloadFreeBSD-src-560cce74950eff15d5eb7cdda3c697b669c0685b.zip
FreeBSD-src-560cce74950eff15d5eb7cdda3c697b669c0685b.tar.gz
VOP_REMOVE() doesn't unlock vnodes nor decrease reference counts.
Diffstat (limited to 'share/man/man9/VOP_REMOVE.9')
-rw-r--r--share/man/man9/VOP_REMOVE.910
1 files changed, 0 insertions, 10 deletions
diff --git a/share/man/man9/VOP_REMOVE.9 b/share/man/man9/VOP_REMOVE.9
index 260de40..aa04405 100644
--- a/share/man/man9/VOP_REMOVE.9
+++ b/share/man/man9/VOP_REMOVE.9
@@ -80,16 +80,6 @@ vop_remove(struct vnode *dvp, struct vnode *vp, struct componentname *cnp)
*/
...;
- /*
- * Careful about trying to remove ".". XXX this should be handled
- * higher up.
- */
- if (dvp == vp)
- vrele(vp);
- else
- vput(vp);
- vput(dvp);
-
return error;
}
.Ed
OpenPOWER on IntegriCloud