aboutsummaryrefslogtreecommitdiff
path: root/rumpdisk
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2021-03-07 11:27:24 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-03-07 11:27:24 +0100
commit6cae63b470876cc3c5bf9fbe2ff5287d6b2f72ca (patch)
tree146aef9e64ea9131c47b9c50000ec402063c8f1c /rumpdisk
parent06ffcd932adfddf0e0dbd11c7a36e841ddfc9fa3 (diff)
downloadhurd-6cae63b470876cc3c5bf9fbe2ff5287d6b2f72ca.tar.gz
hurd-6cae63b470876cc3c5bf9fbe2ff5287d6b2f72ca.tar.bz2
hurd-6cae63b470876cc3c5bf9fbe2ff5287d6b2f72ca.zip
libmachdev: pass shutdown handle to shutdown method
* libmachdev/machdev-device_emul.h (struct machdev_device_emulation_ops): Add shutdown method. * libmachdev/ds_routines.c (machdev_device_shutdown): Take dosync_handle handle and pass it to shutdown method. * libmachdev/machdev.h (machdev_device_shutdown): Update prototype. * libmachdev/trivfs_server.c (S_startup_dosync): Pass shutdown handle to machdev_device_shutdown call. * rumpdisk/block-rump.c (rumpdisk_device_shutdown): Take dosync_handle parameter.
Diffstat (limited to 'rumpdisk')
-rw-r--r--rumpdisk/block-rump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rumpdisk/block-rump.c b/rumpdisk/block-rump.c
index 3ee0773d..9c6fa10c 100644
--- a/rumpdisk/block-rump.c
+++ b/rumpdisk/block-rump.c
@@ -193,7 +193,7 @@ rumpdisk_device_dealloc (void *d)
}
static void
-rumpdisk_device_shutdown (void)
+rumpdisk_device_shutdown (mach_port_t dosync_handle)
{
struct block_data *bd = block_head;