diff options
author | dillon <dillon@FreeBSD.org> | 2001-10-25 23:13:56 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-10-25 23:13:56 +0000 |
commit | 306854a5691be5ea2534e3be14401148c97eaeb9 (patch) | |
tree | 51db5c308e3a40cc8a404164096e9452f9dd2eac /sys/kern | |
parent | e502ef07e52e2d50a40f161c2150e32ffa632054 (diff) | |
download | FreeBSD-src-306854a5691be5ea2534e3be14401148c97eaeb9.zip FreeBSD-src-306854a5691be5ea2534e3be14401148c97eaeb9.tar.gz |
Add missing TAILQ_INSERT_TAIL's which somehow didn't get comitted with
the recent vnode cleanup.
Diffstat (limited to 'sys/kern')
-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; } |