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

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