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
2ebf8eb132
commit
aa6f98d12f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139337
@ -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