diff options
author | Roland McGrath <roland@gnu.org> | 1999-09-13 06:35:11 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-09-13 06:35:11 +0000 |
commit | ddbe575459786c3530c2d092b4193b6d41f1e80a (patch) | |
tree | 38d68d7fa315ba148486b683e192cc1568b62dfc /ufs/dir.c | |
parent | 298788e891e149c18599d9b4e8cac308c1d1457c (diff) |
Reverted changes related to io_map_segment.
Diffstat (limited to 'ufs/dir.c')
-rw-r--r-- | ufs/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -144,7 +144,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, 0, prot); + memobj = diskfs_get_filemap (dp, prot); if (memobj == MACH_PORT_NULL) return errno; @@ -730,7 +730,7 @@ diskfs_dirempty(struct node *dp, memory_object_t memobj; error_t err; - memobj = diskfs_get_filemap (dp, 0, VM_PROT_READ); + memobj = diskfs_get_filemap (dp, VM_PROT_READ); if (memobj == MACH_PORT_NULL) /* XXX should reflect error properly */ @@ -839,7 +839,7 @@ diskfs_get_directs (struct node *dp, char buf[DIRBLKSIZ]; char *bufp; int bufvalid; - error_t err = 0; + error_t err; int i; char *datap; struct directory_entry *entryp; |