From 60aeeb0099a6595f023845f5f7ec8f5a12f73c9e Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 8 Sep 1999 08:39:10 +0000 Subject: 1999-09-07 Thomas Bushnell, BSG * dir.c (diskfs_lookup_hard): Pass additional parameter to diskfs_get_filemap. (diskfs_dirempty): Likewise. * truncate.c (force_delayed_copies): Likewise. * pager.c (diskfs_get_filemap): Accept additional parameter. --- ext2fs/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext2fs/dir.c') diff --git a/ext2fs/dir.c b/ext2fs/dir.c index 84f772a0..61ca3f0f 100644 --- a/ext2fs/dir.c +++ b/ext2fs/dir.c @@ -152,7 +152,7 @@ diskfs_lookup_hard (struct node *dp, const char *name, enum lookup_type type, ds->stat = LOOKING; /* Map in the directory contents. */ - memobj = diskfs_get_filemap (dp, prot); + memobj = diskfs_get_filemap (dp, 0, prot); if (memobj == MACH_PORT_NULL) return errno; @@ -721,7 +721,7 @@ diskfs_dirempty (struct node *dp, struct protid *cred) vm_address_t buf = 0, curoff; struct ext2_dir_entry_2 *entry; int hit = 0; /* Found something in the directory. */ - memory_object_t memobj = diskfs_get_filemap (dp, VM_PROT_READ); + memory_object_t memobj = diskfs_get_filemap (dp, 0, VM_PROT_READ); if (memobj == MACH_PORT_NULL) /* XXX should reflect error properly. */ -- cgit v1.2.3