diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-09-08 08:41:59 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-09-08 08:41:59 +0000 |
commit | 6c70c6d345509bf6690b4443ba36974d2c6a147b (patch) | |
tree | 293e1398b308669c59d4c0ea77f1223eadd84db3 /ufs/pager.c | |
parent | acaedfea96345110b420a9ad66accef684fe45c4 (diff) |
1999-09-08 Thomas Bushnell, BSG <tb@mit.edu>
* dir.c (diskfs_get_directs): Initialize `err' to shut gcc up.
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* dir.c (diskfs_lookup_hard): Pass additional parameter to
diskfs_get_filemap.
(diskfs_dirempty): Likewise.
* sizes.c (diskfs_truncate): Likewise.
(block_extended): Likewise.
(diskfs_grow): Likewise.
* pager.c (diskfs_get_filemap): Accept additional parameter.
Diffstat (limited to 'ufs/pager.c')
-rw-r--r-- | ufs/pager.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ufs/pager.c b/ufs/pager.c index 3038932d..3cba748e 100644 --- a/ufs/pager.c +++ b/ufs/pager.c @@ -547,11 +547,13 @@ 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, 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) || (S_ISLNK (np->dn_stat.st_mode) |