diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2000-12-01 19:16:02 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2000-12-01 19:16:02 +0000 |
commit | bc24c150ec245be8e0b11ca08d11675870d7544f (patch) | |
tree | e7ad0e3f00bff37813a89f3c69fb81506e2e2f58 /nfsd/ChangeLog | |
parent | 603872c61f08c8d86bea2732d2cbf2ac56f25cb3 (diff) |
2000-12-01 Marcus Brinkmann <marcus@gnu.org>
* cache.c (scan_creds): Move I inside for-statement.
Replace inner for-loop with a while-loop. New variable
NEXT_I set to I->NEXT, because we might free I.
Set I to NEXT_I at end of while block.
Move update of leastidlastuse inside if block, because
otherwise we will constantly prevent ourself from scanning.
(scan_fhs): Very much the same.
(scan_replies): Likewise. Also free CR.
(check_cached_reply): Make HASH value absolute (as XID can be
negative, and thus the modulus).
Initialize REFERENCES to 1.
Diffstat (limited to 'nfsd/ChangeLog')
-rw-r--r-- | nfsd/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nfsd/ChangeLog b/nfsd/ChangeLog index 6942b127..078a84e5 100644 --- a/nfsd/ChangeLog +++ b/nfsd/ChangeLog @@ -1,3 +1,18 @@ +2000-12-01 Marcus Brinkmann <marcus@gnu.org> + + * cache.c (scan_creds): Move I inside for-statement. + Replace inner for-loop with a while-loop. New variable + NEXT_I set to I->NEXT, because we might free I. + Set I to NEXT_I at end of while block. + Move update of leastidlastuse inside if block, because + otherwise we will constantly prevent ourself from scanning. + (scan_fhs): Very much the same. + (scan_replies): Likewise. Also free CR. + + (check_cached_reply): Make HASH value absolute (as XID can be + negative, and thus the modulus). + Initialize REFERENCES to 1. + 2000-03-17 Thomas Bushnell, BSG <tb@mit.edu> * cache.c (create_cached_handle): Add comment. |