summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-10-28 00:58:57 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-10-28 00:58:57 +0000
commit28cd2c87c77fe466592f265bcb22601f747e28c0 (patch)
tree410edaced73e231f97c326ec0543f480b4fa7484 /ufs
parent6968b16f1bb86a90b525636987501c7094d070d3 (diff)
entered into RCS
Diffstat (limited to 'ufs')
-rw-r--r--ufs/sizes.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ufs/sizes.c b/ufs/sizes.c
index 7225a851..bf9e2c38 100644
--- a/ufs/sizes.c
+++ b/ufs/sizes.c
@@ -103,8 +103,6 @@ diskfs_truncate (struct node *np,
pager_change_attributes (upi->p, MAY_CACHE,
MEMORY_OBJECT_COPY_NONE, 1);
obj = diskfs_get_filemap (np);
- mach_port_insert_right (mach_task_self (), obj, obj,
- MACH_MSG_TYPE_MAKE_SEND);
poke_pages (obj, round_page (length), round_page (np->allocsize));
mach_port_deallocate (mach_task_self (), obj);
pager_flush_some (upi->p, round_page (length),
@@ -587,8 +585,6 @@ diskfs_grow (struct node *np,
mach_port_t obj;
obj = diskfs_get_filemap (np);
- mach_port_insert_right (mach_task_self (), obj, obj,
- MACH_MSG_TYPE_MAKE_SEND);
poke_pages (obj, trunc_page (poke_off),
round_page (poke_off + poke_len));
mach_port_deallocate (mach_task_self (), obj);