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

(cherry picked from commit 40b690803a928da8bf25b1e03745e95f14fd1743)

src/WINNT/afsd/cm_scache.c

index 320b9dcbde7caadef672d9315fbda6b0fcf88744..4a2735e0ab777f8ab0e7c7c4212b710db18cd1a9 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);