summaryrefslogtreecommitdiff
path: root/libdiskfs/init-first.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-05-12 22:41:54 +0000
committerMiles Bader <miles@gnu.org>1995-05-12 22:41:54 +0000
commitb707c0ee99fa9dc7a01e1ef2e02f33a409b07a03 (patch)
tree971854da0139ba8cee5f78b97f5e4212d52974d2 /libdiskfs/init-first.c
parentbc3dbb2fb83db93c3152341bc6ed0ec5b4e51967 (diff)
(diskfs_spawn_first_thread): Start background syncing.
Diffstat (limited to 'libdiskfs/init-first.c')
-rw-r--r--libdiskfs/init-first.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/init-first.c b/libdiskfs/init-first.c
index ca4b2287..c1cca17f 100644
--- a/libdiskfs/init-first.c
+++ b/libdiskfs/init-first.c
@@ -27,4 +27,6 @@ diskfs_spawn_first_thread (void)
cthread_detach (cthread_fork ((cthread_fn_t)
ports_manage_port_operations_multithread,
(any_t) 0));
+ if (diskfs_default_sync_interval)
+ diskfs_set_sync_interval (diskfs_default_sync_interval);
}