diff options
author | dg <dg@FreeBSD.org> | 1995-03-10 20:29:51 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-03-10 20:29:51 +0000 |
commit | 1b881d5453775071938ea033e42d82f0a5efd0f1 (patch) | |
tree | 96bed7482e804fc8de36195fde11849dcfd96fe3 /sys/kern/vfs_cache.c | |
parent | 0edff5994e2925cf3e4133c77a61273e5f1c4627 (diff) | |
download | FreeBSD-src-1b881d5453775071938ea033e42d82f0a5efd0f1.zip FreeBSD-src-1b881d5453775071938ea033e42d82f0a5efd0f1.tar.gz |
Whoops, back out that last change - I misread what Poul had done there.
Diffstat (limited to 'sys/kern/vfs_cache.c')
-rw-r--r-- | sys/kern/vfs_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index e447ecb..9a36a62 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -33,7 +33,7 @@ * SUCH DAMAGE. * * @(#)vfs_cache.c 8.3 (Berkeley) 8/22/94 - * $Id: vfs_cache.c,v 1.8 1995/03/09 20:23:45 phk Exp $ + * $Id: vfs_cache.c,v 1.9 1995/03/10 20:26:29 davidg Exp $ */ #include <sys/param.h> @@ -203,7 +203,7 @@ cache_enter(dvp, vp, cnp) return; } - if (numcache < numvnodes || numvnodes < desiredvnodes) { + if (numcache < numvnodes) { /* Add one more entry */ ncp = (struct namecache *) malloc((u_long)sizeof *ncp, M_CACHE, M_WAITOK); |