1
0
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:
Matthew Dillon 2001-10-25 23:13:56 +00:00
parent 3ea034b005
commit f92dcd3e4a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85515

View File

@ -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;
}