summaryrefslogtreecommitdiff
path: root/nfsd/cache.c
AgeCommit message (Collapse)Author
2000-12-012000-12-01 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* 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-172000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* cache.c (create_cached_handle): Add comment.
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* cache.c: Add #include <sys/mman.h> for munmap decl.
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* cache.c (create_cached_handle): Use munmap instead of vm_deallocate.
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1996-10-08Thu Sep 26 14:09:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* nfsd.h (enum_t): New type. * cache.c: Don't inclide <rpc/auth_unix.h>.
1996-08-14*** empty log message ***Thomas Bushnell
1996-08-07*** empty log message ***Thomas Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell