aboutsummaryrefslogtreecommitdiff
path: root/ufs/pager.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-09-13 06:35:11 +0000
committerRoland McGrath <roland@gnu.org>1999-09-13 06:35:11 +0000
commit2a061ebb71bf7a93d5e7ed71fa13dd7005745965 (patch)
treec03dbbcdb1ab820ed98049bf3ad866ca4125ae2c /ufs/pager.c
parentd5192f3ae0bc49683b16882e47d1bc39607d5363 (diff)
downloadhurd-2a061ebb71bf7a93d5e7ed71fa13dd7005745965.tar.gz
hurd-2a061ebb71bf7a93d5e7ed71fa13dd7005745965.tar.bz2
hurd-2a061ebb71bf7a93d5e7ed71fa13dd7005745965.zip
Reverted changes related to io_map_segment.
Diffstat (limited to 'ufs/pager.c')
-rw-r--r--ufs/pager.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ufs/pager.c b/ufs/pager.c
index 3cba748e..3038932d 100644
--- a/ufs/pager.c
+++ b/ufs/pager.c
@@ -547,13 +547,11 @@ flush_node_pager (struct node *node)
/* Call this to create a FILE_DATA pager and return a send right.
NP must be locked. PROT is the max protection desired. */
mach_port_t
-diskfs_get_filemap (struct node *np, int index, vm_prot_t prot)
+diskfs_get_filemap (struct node *np, 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)
|| (S_ISLNK (np->dn_stat.st_mode)