mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
DEVEL15-windows-fix-cb-expiration-20071222
LICENSE MIT corrects cb expiration that was broken by the osi_Time() -> time() change in delta windows-readonly-volume-callbacks-20071109 (cherry picked from commit 89203eb7065d7bd4e2a40f2afd5fab979ddf1008)
This commit is contained in:
parent
861a8762b4
commit
10e8a05fb2
@ -1842,7 +1842,7 @@ void cm_CheckCBExpiration(void)
|
||||
|
||||
osi_Log0(afsd_logp, "CheckCBExpiration");
|
||||
|
||||
now = osi_Time();
|
||||
now = time(NULL);
|
||||
lock_ObtainWrite(&cm_scacheLock);
|
||||
for (i=0; i<cm_data.scacheHashTableSize; i++) {
|
||||
for (scp = cm_data.scacheHashTablep[i]; scp; scp=scp->nextp) {
|
||||
|
@ -494,7 +494,7 @@ cm_SuspendSCache(void)
|
||||
* without network, the stat cache item will still be
|
||||
* considered valid.
|
||||
*/
|
||||
now = osi_Time();
|
||||
now = time(NULL);
|
||||
|
||||
lock_ObtainWrite(&cm_scacheLock);
|
||||
for ( scp = cm_data.allSCachesp; scp; scp = scp->allNextp ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user