From e7c22377e0c27b29dd28f795adb996fa795d1dc8 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 28 Oct 1994 01:15:47 +0000 Subject: entered into RCS --- ufs/dir.c | 4 ---- 1 file changed, 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, -- cgit v1.2.3