mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Add missing TAILQ_INSERT_TAIL's which somehow didn't get comitted with
the recent vnode cleanup.
This commit is contained in:
parent
3ea034b005
commit
f92dcd3e4a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85515
@ -584,6 +584,7 @@ getnewvnode(tag, mp, vops, vpp)
|
||||
*/
|
||||
if (cache_leaf_test(vp) < 0) {
|
||||
mtx_unlock(&vp->v_interlock);
|
||||
TAILQ_INSERT_TAIL(&vnode_free_list, vp, v_freelist);
|
||||
vp = NULL;
|
||||
continue;
|
||||
}
|
||||
@ -597,6 +598,7 @@ getnewvnode(tag, mp, vops, vpp)
|
||||
* too quickly).
|
||||
*/
|
||||
mtx_unlock(&vp->v_interlock);
|
||||
TAILQ_INSERT_TAIL(&vnode_free_list, vp, v_freelist);
|
||||
vp = NULL;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user