summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/init-startup.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c
index 73562933..443df71e 100644
--- a/libdiskfs/init-startup.c
+++ b/libdiskfs/init-startup.c
@@ -92,8 +92,12 @@ diskfs_S_startup_dosync (mach_port_t handle)
if (err)
return err;
- diskfs_shutdown_pager ();
+ diskfs_sync_everything (1);
diskfs_set_hypermetadata (1, 1);
+ _diskfs_diskdirty = 0;
+
+ ports_resume_class_rpcs (diskfs_protid_class);
+ rwlock_writer_unlock (&diskfs_fsys_lock);
return 0;
}