diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-03-17 17:05:23 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-03-17 17:05:23 +0000 |
commit | e9c81bf867e05364605f39d5e2c51566047543a2 (patch) | |
tree | 6886daa766505d248cea37c988230f194e9850ca | |
parent | 4f908035b012064b60e330175061523c9995294a (diff) |
(diskfs_S_fsys_syncfs): Implement diskfs_synchronous.
-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); |