]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-scache-recycle-fix-20060608 openafs-devel-1_5_2
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 8 Jun 2006 22:22:20 +0000 (22:22 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 8 Jun 2006 22:22:20 +0000 (22:22 +0000)
do not special case freelance entries

(cherry picked from commit 40b690803a928da8bf25b1e03745e95f14fd1743)

src/WINNT/afsd/cm_scache.c

index 4485e177c8138f82896640473deda6d27c58bad6..cb28ef781273f783edc0240e150d1c48003fd227 100644 (file)
@@ -59,15 +59,6 @@ long cm_RecycleSCache(cm_scache_t *scp, afs_int32 flags)
     cm_scache_t *tscp;
     int i;
 
-#ifdef AFS_FREELANCE_CLIENT
-    /* Do not recycle Freelance cache entries */
-    if ( cm_freelanceEnabled && 
-         scp->fid.cell==AFS_FAKE_ROOT_CELL_ID &&
-         scp->fid.volume==AFS_FAKE_ROOT_VOL_ID )
-       return -1;
-#endif /* AFS_FREELANCE_CLIENT */
-
-
     if (scp->flags & CM_SCACHEFLAG_INHASH) {
        /* hash it out first */
        i = CM_SCACHE_HASH(&scp->fid);