From 34999fe9e498121e7457a5ed4bd0618c7d01ee11 Mon Sep 17 00:00:00 2001
From: "Michael I. Bushnell" <mib@gnu.org>
Date: Mon, 26 Jun 1995 23:30:14 +0000
Subject: (diskfs_S_fsys_goaway): Include "fsys_S.h" and "fsys_reply_U.h".  New
 parms REPLY and REPLY_TYPE.  Send fsys_goaway reply message before exit.

---
 libdiskfs/fsys-goaway.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'libdiskfs/fsys-goaway.c')

diff --git a/libdiskfs/fsys-goaway.c b/libdiskfs/fsys-goaway.c
index d0872967..611014f4 100644
--- a/libdiskfs/fsys-goaway.c
+++ b/libdiskfs/fsys-goaway.c
@@ -20,10 +20,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* Written by Michael I. Bushnell.  */
 
 #include "priv.h"
+#include "fsys_S.h"
+#include "fsys_reply_U.h"
 
 /* Implement fsys_goaway as described in <hurd/fsys.defs>. */
 error_t
 diskfs_S_fsys_goaway (fsys_t controlport,
+		      mach_port_t reply,
+		      mach_msg_type_name_t reply_type,
 		      int flags)
 {
   struct port_info *pt = ports_lookup_port (diskfs_port_bucket, controlport,
@@ -40,8 +44,7 @@ diskfs_S_fsys_goaway (fsys_t controlport,
   if (ret == 0)
     {
       /* We are supposed to exit, but first notify the caller. */
-      /* XXX But this isn't happening yet, because it means too
-	 much pain. */
+      fsys_goaway_reply (reply, reply_type, 0);
       exit (0);
     }
 
-- 
cgit v1.2.3