aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufs/dir.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ufs/dir.c b/ufs/dir.c
index 2f215974..83eae80d 100644
--- a/ufs/dir.c
+++ b/ufs/dir.c
@@ -129,8 +129,6 @@ diskfs_lookup (struct node *dp, char *name, enum lookup_type type,
/* Map in the directory contents. */
memobj = diskfs_get_filemap (dp);
- mach_port_insert_right (mach_task_self (), memobj, memobj,
- MACH_MSG_TYPE_MAKE_SEND);
buf = 0;
/* We allow extra space in case we have to do an EXTEND. */
buflen = round_page (dp->dn_stat.st_size + DIRBLKSIZ);
@@ -655,8 +653,6 @@ diskfs_dirempty(struct node *dp,
error_t err;
memobj = diskfs_get_filemap (dp);
- mach_port_insert_right (mach_task_self (), memobj, memobj,
- MACH_MSG_TYPE_MAKE_SEND);
buf = 0;
err = vm_map (mach_task_self (), &buf, dp->dn_stat.st_size, 0,