#endif /* else AFS_USERSPACE_IP_ADDR */
if (!afs_CheckServerDaemonStarted)
afs_CheckServers(0, NULL);
- afs_GCUserData(0); /* gc old conns */
+ afs_GCUserData(); /* gc old conns */
/* This is probably the wrong way of doing GC for the various exporters but it will suffice for a while */
for (exporter = root_exported; exporter;
exporter = exporter->exp_next) {
now = osi_Time();
if (last10MinCheck + 600 < now) {
- afs_GCUserData(0);
+ afs_GCUserData();
}
if (last60MinCheck + 3600 < now) {
#endif /* AFS_GCPAGS */
extern void afs_ComputePAGStats(void);
extern void afs_PutUser(struct unixuser *au, afs_int32 locktype);
-extern void afs_GCUserData(int aforce);
+extern void afs_GCUserData(void);
extern void afs_CheckTokenCache(void);
extern void afs_ResetAccessCache(afs_int32 uid, afs_int32 cell, int alock);
extern void afs_ResetUserConns(struct unixuser *auser);
/* Called from afs_Daemon to garbage collect unixusers no longer using system,
- * and their conns. The aforce parameter tells the function to flush all
- * *unauthenticated* conns, no matter what their expiration time; it exists
- * because after we choose our final rx epoch, we want to stop using calls with
- * other epochs as soon as possible (old file servers act bizarrely when they
- * see epoch changes).
+ * and their conns.
*/
void
-afs_GCUserData(int aforce)
+afs_GCUserData(void)
{
struct unixuser *tu, **lu, *nu;
int i;
if (!afs_HasUsableTokens(tu->tokens, now))
delFlag = 1;
} else {
- if (aforce || (tu->tokenTime < now - NOTOKTIMEOUT))
+ if (tu->tokenTime < now - NOTOKTIMEOUT)
delFlag = 1;
}
}