diff options
author | pjd <pjd@FreeBSD.org> | 2006-11-04 23:58:15 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-11-04 23:58:15 +0000 |
commit | 560cce74950eff15d5eb7cdda3c697b669c0685b (patch) | |
tree | 463618600e7a7493d8ad518fd19a5ccb01a1c691 /share/man/man9/VOP_REMOVE.9 | |
parent | c524521d2f579301e91dba59f2cab05751984415 (diff) | |
download | FreeBSD-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.9 | 10 |
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 |