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:
kan 2004-12-27 05:17:11 +00:00
parent 94a75d08c3
commit afd7d6f06b

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 */