summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-10-28 01:15:47 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-10-28 01:15:47 +0000
commite7c22377e0c27b29dd28f795adb996fa795d1dc8 (patch)
treeed09da78ee1b1dee59f3534f2edb7f53c3f0955b /ufs
parent5bb20f48b33c1decd30cc5819d3debaa8cd14216 (diff)
entered into RCS
Diffstat (limited to 'ufs')
-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,