STABLE14-windows-scache-recycle-fix-20060608

do not special case freelance entries


(cherry picked from commit 40b690803a928da8bf25b1e03745e95f14fd1743)
This commit is contained in:
Jeffrey Altman 2006-06-08 22:19:17 +00:00
parent e5e8d2ac72
commit df04a8b342

View 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);