summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-26 23:30:14 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-26 23:30:14 +0000
commit34999fe9e498121e7457a5ed4bd0618c7d01ee11 (patch)
treef261f84909daa13c10f55789f310c86733eeda08 /libdiskfs
parente203ae1f6822613a938548be28bdccdcc63ebe3d (diff)
(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.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/fsys-goaway.c7
1 files changed, 5 insertions, 2 deletions
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);
}