From e9c81bf867e05364605f39d5e2c51566047543a2 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 17 Mar 1995 17:05:23 +0000 Subject: (diskfs_S_fsys_syncfs): Implement diskfs_synchronous. --- libdiskfs/fsys-syncfs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libdiskfs/fsys-syncfs.c') 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); -- cgit v1.2.3