summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-05-18 14:51:08 +0000
committerMiles Bader <miles@gnu.org>1995-05-18 14:51:08 +0000
commit3ff4af88742bd6eb9dbcf108f27d57729941feae (patch)
tree627803174f863582c2cad08d7a604b770500463a /libdiskfs
parentb6c442390525c485abb2baa2b79eafa038db40c1 (diff)
(diskfs_startup_diskfs): Start periodic background syncing, if enabled.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/init-startup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c
index a41c91c9..4ec82173 100644
--- a/libdiskfs/init-startup.c
+++ b/libdiskfs/init-startup.c
@@ -47,5 +47,9 @@ diskfs_startup_diskfs (mach_port_t bootstrap)
else
realnode = MACH_PORT_NULL;
+ if (diskfs_default_sync_interval)
+ /* Start 'em sync'n */
+ diskfs_set_sync_interval (diskfs_default_sync_interval);
+
return realnode;
}