VOP_REMOVE() doesn't unlock vnodes nor decrease reference counts.

This commit is contained in:
Pawel Jakub Dawidek 2006-11-04 23:58:15 +00:00
parent a2ca03b3ad
commit 479a8f8dd7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163989

View File

@ -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