summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-09-08 08:39:41 +0000
committerThomas Bushnell <thomas@gnu.org>1999-09-08 08:39:41 +0000
commitd0406a7c26030ff991f4eb19df2263ffe0f4f444 (patch)
tree0857a76a158709caa34038b746927f1f4c48f6b7
parent709917db732ffdebbeff9b18669e04d0cf2be2bf (diff)
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* pager.c (diskfs_get_filemap): Accept additional parameter.
-rw-r--r--isofs/ChangeLog4
-rw-r--r--isofs/pager.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/isofs/ChangeLog b/isofs/ChangeLog
index a97049dd..69ff1336 100644
--- a/isofs/ChangeLog
+++ b/isofs/ChangeLog
@@ -1,3 +1,7 @@
+1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * pager.c (diskfs_get_filemap): Accept additional parameter.
+
1999-07-10 Roland McGrath <roland@baalperazim.frob.com>
* isofs.h: Add #include <sys/mman.h> for munmap decl.
diff --git a/isofs/pager.c b/isofs/pager.c
index 7e12ebc0..7f163daf 100644
--- a/isofs/pager.c
+++ b/isofs/pager.c
@@ -147,10 +147,12 @@ diskfs_file_update (struct node *np,
/* Create a FILE_DATA pager for the specified node */
mach_port_t
-diskfs_get_filemap (struct node *np, vm_prot_t prot)
+diskfs_get_filemap (struct node *np, int index, vm_prot_t prot)
{
struct user_pager_info *upi;
mach_port_t right;
+
+ assert (index == 0); /* XXX */
assert (S_ISDIR (np->dn_stat.st_mode)
|| S_ISREG (np->dn_stat.st_mode)