From 8c01aac81f9a7a3399f0e715600baab0b94d0a4c Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Sat, 3 Jul 1999 23:53:17 +0000 Subject: 1999-07-03 Thomas Bushnell, BSG * ops.c (netfs_get_dirents): Use munmap instead of vm_deallocate. * pager.c (pager_read_page): Likewise. --- nfs/pager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nfs/pager.c') 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; } -- cgit v1.2.3