diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-07-15 19:50:04 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-07-15 19:50:04 +0000 |
commit | 4d3c5e44b579612d1197c0e9431d42a0a6d1eff1 (patch) | |
tree | 5c58281f700c40248b302ad776dde388aa40c4b3 | |
parent | f0903e593f38d527db648ba3d517d58d79b36aa4 (diff) |
Formerly io-sigio.c.~3~
-rw-r--r-- | libdiskfs/io-sigio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libdiskfs/io-sigio.c b/libdiskfs/io-sigio.c index 17352156..ba751a87 100644 --- a/libdiskfs/io-sigio.c +++ b/libdiskfs/io-sigio.c @@ -17,6 +17,7 @@ #include "priv.h" #include "io_S.h" +#include <fcntl.h> /* Implement io_sigio as described in <hurd/io.defs>. We do this for O_FSYNC right now, but will eventually do it for async I/O @@ -29,6 +30,7 @@ diskfs_S_io_sigio (struct protid *cred) mutex_lock (&cred->po->np->lock); if (cred->po->openstat & O_FSYNC) - diskfs_update_file (1); + diskfs_file_update (1); mutex_unlock (&cred->po->np->lock); + return 0; } |