summaryrefslogtreecommitdiff
path: root/nfsd
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-03 23:53:51 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-03 23:53:51 +0000
commitf15a186f9b4af1fa96eb827fd17074d4f9cb2547 (patch)
tree8a4dc79854e383d473ed48f99109124cfb390694 /nfsd
parent8c01aac81f9a7a3399f0e715600baab0b94d0a4c (diff)
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* cache.c (create_cached_handle): Use munmap instead of vm_deallocate.
Diffstat (limited to 'nfsd')
-rw-r--r--nfsd/ChangeLog5
-rw-r--r--nfsd/cache.c4
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 */