diff options
Diffstat (limited to 'libdiskfs/io-sigio.c')
-rw-r--r-- | libdiskfs/io-sigio.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |