summaryrefslogtreecommitdiff
path: root/ext2fs/dir.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-09-08 08:39:10 +0000
committerThomas Bushnell <thomas@gnu.org>1999-09-08 08:39:10 +0000
commit60aeeb0099a6595f023845f5f7ec8f5a12f73c9e (patch)
tree2b6f46283ac7eae7b0347f1a73a43a789f639db7 /ext2fs/dir.c
parent4ad1c1f75bf97ce7888b99f6850b41f9f5789ec8 (diff)
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* 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.
Diffstat (limited to 'ext2fs/dir.c')
-rw-r--r--ext2fs/dir.c4
1 files changed, 2 insertions, 2 deletions
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. */