mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-windows-scache-recycle-fix-20060608
do not special case freelance entries (cherry picked from commit 40b690803a928da8bf25b1e03745e95f14fd1743)
This commit is contained in:
parent
e5e8d2ac72
commit
df04a8b342
@ -59,15 +59,6 @@ long cm_RecycleSCache(cm_scache_t *scp, afs_int32 flags)
|
|||||||
cm_scache_t *tscp;
|
cm_scache_t *tscp;
|
||||||
int i;
|
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) {
|
if (scp->flags & CM_SCACHEFLAG_INHASH) {
|
||||||
/* hash it out first */
|
/* hash it out first */
|
||||||
i = CM_SCACHE_HASH(&scp->fid);
|
i = CM_SCACHE_HASH(&scp->fid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user