summaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/vespa/fastos/unix_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastos/src/vespa/fastos/unix_file.cpp b/fastos/src/vespa/fastos/unix_file.cpp
index 55ecbcee939..bbf95d3370e 100644
--- a/fastos/src/vespa/fastos/unix_file.cpp
+++ b/fastos/src/vespa/fastos/unix_file.cpp
@@ -143,7 +143,7 @@ FastOS_UNIX_File::CalcAccessFlags(unsigned int openFlags)
#endif
if ((openFlags & FASTOS_FILE_OPEN_DIRECTIO) != 0) {
- accessFlags |= O_DIRECT | O_DSYNC | O_RSYNC;
+ accessFlags |= O_DIRECT;
}
if ((openFlags & FASTOS_FILE_OPEN_TRUNCATE) != 0) {