summaryrefslogtreecommitdiff
path: root/nfs/pager.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-03 23:53:17 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-03 23:53:17 +0000
commit8c01aac81f9a7a3399f0e715600baab0b94d0a4c (patch)
treeeed514e96cec1b788f29b10d1f06e9d43c521303 /nfs/pager.c
parent1584a9200a511a6ce330917be8dcaf957bb7c2e2 (diff)
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* ops.c (netfs_get_dirents): Use munmap instead of vm_deallocate. * pager.c (pager_read_page): Likewise.
Diffstat (limited to 'nfs/pager.c')
-rw-r--r--nfs/pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfs/pager.c b/nfs/pager.c
index be5541cf..7a333252 100644
--- a/nfs/pager.c
+++ b/nfs/pager.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -143,7 +143,7 @@ pager_read_page (struct user_pager_info *pager,
{
mutex_unlock (&np->lock);
free (rpcbuf);
- vm_deallocate (mach_task_self (), *buf, vm_page_size);
+ munmap ((caddr_t) *buf, vm_page_size);
return err;
}