summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/io-async.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libdiskfs/io-async.c b/libdiskfs/io-async.c
index 1d7e26e5..a9a04c42 100644
--- a/libdiskfs/io-async.c
+++ b/libdiskfs/io-async.c
@@ -25,9 +25,6 @@ diskfs_S_io_async (struct protid *cred,
mach_port_t *idport,
mach_msg_type_name_t *idport_type)
{
- mach_port_deallocate (mach_task_self (), notify);
- *idport = MACH_PORT_NULL;
- *idport_type = MACH_MSG_TYPE_COPY_SEND;
- return 0;
+ return EOPNOTSUPP;
}