diff options
author | Miles Bader <miles@gnu.org> | 1995-05-18 14:51:08 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-05-18 14:51:08 +0000 |
commit | 3ff4af88742bd6eb9dbcf108f27d57729941feae (patch) | |
tree | 627803174f863582c2cad08d7a604b770500463a | |
parent | b6c442390525c485abb2baa2b79eafa038db40c1 (diff) |
(diskfs_startup_diskfs): Start periodic background syncing, if enabled.
-rw-r--r-- | libdiskfs/init-startup.c | 4 |
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; } |