From bda09bcb26151fef5a7d065189399822c4a3cfee Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 9 Jun 1995 21:13:11 +0000 Subject: (diskfs_S_interrupt_operation): Bother to implement. --- libdiskfs/interrupt.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3