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:
parent
94a75d08c3
commit
afd7d6f06b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user