From 19afee96c919afc4a71d17f1cef2e04da23de9a1 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 Mar 1995 02:12:33 +0000 Subject: (diskfs_S_io_sigio): Implement diskfs_synchronous. --- libdiskfs/io-sigio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdiskfs/io-sigio.c') diff --git a/libdiskfs/io-sigio.c b/libdiskfs/io-sigio.c index 1b8fd0d3..229129bc 100644 --- a/libdiskfs/io-sigio.c +++ b/libdiskfs/io-sigio.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 1995 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -29,7 +29,7 @@ diskfs_S_io_sigio (struct protid *cred) return EOPNOTSUPP; mutex_lock (&cred->po->np->lock); - if (cred->po->openstat & O_FSYNC) + if ((cred->po->openstat & O_FSYNC) || diskfs_synchronous) diskfs_file_update (cred->po->np, 1); mutex_unlock (&cred->po->np->lock); return 0; -- cgit v1.2.3