diff options
-rw-r--r-- | libdiskfs/fsys-syncfs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libdiskfs/fsys-syncfs.c b/libdiskfs/fsys-syncfs.c index cd64d9f9..fbca52ff 100644 --- a/libdiskfs/fsys-syncfs.c +++ b/libdiskfs/fsys-syncfs.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994 Free Software Foundation, Inc. + Copyright (C) 1994, 1995 Free Software Foundation, Inc. Written by Michael I. Bushnell. This file is part of the GNU Hurd. @@ -34,6 +34,9 @@ diskfs_S_fsys_syncfs (fsys_t controlport, if (children) diskfs_sync_translators (wait); + + if (diskfs_synchronous) + wait = 1; diskfs_sync_everything (wait); diskfs_set_hypermetadata (wait, 0); |