aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/pager.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-03 23:49:00 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-03 23:49:00 +0000
commit701e4350e3096a2a5b4a3a57d5feee9349e9f305 (patch)
tree4fe87d502718b913c7a42cb5f02ae33541e1063e /ext2fs/pager.c
parent9db1a6bef5a0f7d3a0ed80a1367649bbaae02e2a (diff)
downloadhurd-701e4350e3096a2a5b4a3a57d5feee9349e9f305.tar.gz
hurd-701e4350e3096a2a5b4a3a57d5feee9349e9f305.tar.bz2
hurd-701e4350e3096a2a5b4a3a57d5feee9349e9f305.zip
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* dir.c (diskfs_lookup_hard): Use munmap instead of vm_deallocate. (diskfs_direnter_hard): Likewise. (diskfs_dirremove_hard): Likewise. (diskfs_dirrewrite_hard): Likewise. (diskfs_dirempty): Likewise. (diskfs_drop_dirstat): Likewise. (diskfs_get_directs): Likewise. * hyper.c (allocate_mod_map): Likewise. (get_hypermetadata): Likewise. * pager.c (free_page_buf): Likewise. * truncate.c (poke_pages): Likewise.
Diffstat (limited to 'ext2fs/pager.c')
-rw-r--r--ext2fs/pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index 3f557aeb..6cdb7786 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -117,7 +117,7 @@ free_page_buf (void *buf)
else
{
spin_unlock (&free_page_bufs_lock);
- vm_deallocate (mach_task_self (), (vm_address_t) buf, vm_page_size);
+ munmap (buf, vm_page_size);
}
}