diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 2001-10-25 23:13:56 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 2001-10-25 23:13:56 +0000 |
| commit | f92dcd3e4ac09dfeb44dae7c1cf969427dddac45 (patch) | |
| tree | 51db5c308e3a40cc8a404164096e9452f9dd2eac | |
| parent | 3ea034b005e838705ac56d4023ac4bcc059944ef (diff) | |
Notes
| -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 8a33fa6cfdb8..fde8ce2a2699 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; } |
