aboutsummaryrefslogtreecommitdiff
path: root/nfsd/cache.c
Commit message (Collapse)AuthorAgeFilesLines
* 2000-12-01 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-12-011-51/+83
| | | | | | | | | | | | | | | * 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>Thomas Bushnell2000-03-171-1/+2
| | | | * cache.c (create_cached_handle): Add comment.
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-0/+1
| | | | * cache.c: Add #include <sys/mman.h> for munmap decl.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-031-2/+2
| | | | | * cache.c (create_cached_handle): Use munmap instead of vm_deallocate.
* Add braces to silence gcc warnings.Roland McGrath1998-10-201-74/+77
|
* Thu Sep 26 14:09:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-10-081-1/+0
| | | | | | * nfsd.h (enum_t): New type. * cache.c: Don't inclide <rpc/auth_unix.h>.
* *** empty log message ***Thomas Bushnell1996-08-141-14/+14
|
* *** empty log message ***Thomas Bushnell1996-08-071-29/+64
|
* *** empty log message ***Michael I. Bushnell1996-07-181-0/+496