diff options
-rw-r--r-- | sys/kern/vfs_subr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 8a33fa6..fde8ce2 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -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; } |