diff options
-rw-r--r-- | nfsd/ChangeLog | 5 | ||||
-rw-r--r-- | nfsd/cache.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/nfsd/ChangeLog b/nfsd/ChangeLog index f7f28303..c32cfd98 100644 --- a/nfsd/ChangeLog +++ b/nfsd/ChangeLog @@ -1,3 +1,8 @@ +1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> + + * cache.c (create_cached_handle): Use munmap instead of + vm_deallocate. + 1998-12-20 Roland McGrath <roland@baalperazim.frob.com> * loop.c (server_loop): Cosmetic. diff --git a/nfsd/cache.c b/nfsd/cache.c index 808f1648..915666d4 100644 --- a/nfsd/cache.c +++ b/nfsd/cache.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1996, 1998 Free Software Foundation, Inc. + Copyright (C) 1996, 1998, 1999 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -383,7 +383,7 @@ create_cached_handle (int fs, struct cache_handle *credc, file_t userport) if (bp != fhandle + sizeof (int)) { bcopy (bp, fhandle + sizeof (int), NFS2_FHSIZE - sizeof (int)); - vm_deallocate (mach_task_self (), (vm_address_t) bp, handlelen); + munmap (bp, handlelen); } /* Cache it */ |