Do not vput(9) unlocked vnode and do not VREF it with the sole purpose

of vputting it back immediately.

Complained by:	DEBUG_VFS_LOCKS
This commit is contained in:
Alexander Kabaev 2004-12-27 05:17:11 +00:00
parent 2ebf8eb132
commit aa6f98d12f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139337

View File

@ -1117,8 +1117,6 @@ devfs_fixup(struct thread *td)
mtx_unlock(&mountlist_mtx);
VOP_UNLOCK(vp, 0, td);
vfs_unbusy(mp, td);
VREF(vp);
vput(vp);
vput(dvp);
/* Unlink the no longer needed /dev/dev -> / symlink */