no caching for now
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 10 May 1989 11:49:27 +0000 (03:49 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 10 May 1989 11:49:27 +0000 (03:49 -0800)
SCCS-vsn: sys/kern/vfs_cache.c 7.3

usr/src/sys/kern/vfs_cache.c

index 3c699c4..cbb222c 100644 (file)
@@ -14,7 +14,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- *     @(#)vfs_cache.c 7.2 (Berkeley) %G%
+ *     @(#)vfs_cache.c 7.3 (Berkeley) %G%
  */
 
 #include "param.h"
  */
 
 #include "param.h"
@@ -76,6 +76,7 @@ cache_lookup(ndp)
        register struct namecache *ncp;
        union nchash *nhp;
 
        register struct namecache *ncp;
        union nchash *nhp;
 
+       return (0);             /* XXX for now */
        if (ndp->ni_dent.d_namlen > NCHNAMLEN) {
                nchstats.ncs_long++;
                ndp->ni_makeentry = 0;
        if (ndp->ni_dent.d_namlen > NCHNAMLEN) {
                nchstats.ncs_long++;
                ndp->ni_makeentry = 0;
@@ -152,6 +153,7 @@ cache_enter(ndp)
        register struct namecache *ncp;
        union nchash *nhp;
 
        register struct namecache *ncp;
        union nchash *nhp;
 
+       return;         /* XXX for now */
        /*
         * Free the cache slot at head of lru chain.
         */
        /*
         * Free the cache slot at head of lru chain.
         */