summaryrefslogtreecommitdiff
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
commit5bb20f48b33c1decd30cc5819d3debaa8cd14216 (patch)
tree848d0010d24787f01acd8ee889be190aa1e792c9
parent9878dd82378318918586d723ee713f31b5a4ef65 (diff)
entered into RCS
-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);