summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-09 21:13:11 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-09 21:13:11 +0000
commitbda09bcb26151fef5a7d065189399822c4a3cfee (patch)
tree0cf9750606c6ee369d7aa6672910af4574244b36 /libdiskfs
parent41e88026b3fa1ef3770f5f40429af7a30ae02727 (diff)
(diskfs_S_interrupt_operation): Bother to implement.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/interrupt.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/libdiskfs/interrupt.c b/libdiskfs/interrupt.c
index f7441934..ffd7fb83 100644
--- a/libdiskfs/interrupt.c
+++ b/libdiskfs/interrupt.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1993, 1994 Free Software Foundation
+ Copyright (C) 1993, 1994, 1995 Free Software Foundation
This file is part of the GNU Hurd.
@@ -25,5 +25,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
kern_return_t
diskfs_S_interrupt_operation (mach_port_t handle)
{
+ struct port_info *pi;
+
+ pi = ports_lookup_port (diskfs_port_bucket, handle, 0);
+ if (!pi)
+ return EOPNOTSUPP;
+
+ ports_interrupt_rpc (pi);
+
+ ports_port_deref (pi);
+
return 0;
}