diff options
Diffstat (limited to 'tmpfs/node.c')
-rw-r--r-- | tmpfs/node.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmpfs/node.c b/tmpfs/node.c index e93b8794..c606f94e 100644 --- a/tmpfs/node.c +++ b/tmpfs/node.c @@ -73,6 +73,8 @@ diskfs_free_node (struct node *np, mode_t mode) { case DT_REG: if (np->dn->u.reg.memobj != MACH_PORT_NULL) { + /* XXX GNU Mach will terminate the object, and thus existing mappings + * will get SIGBUS. */ vm_deallocate (mach_task_self (), np->dn->u.reg.memref, 4096); mach_port_deallocate (mach_task_self (), np->dn->u.reg.memobj); } |