summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--default.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/default.c b/default.c
index 6f9d1cb..3cc2ea0 100644
--- a/default.c
+++ b/default.c
@@ -84,6 +84,7 @@ int fastwriter_default_open(fastwriter_t *fw, const char *name, fastwriter_flags
#ifdef SYNC_MODE
ctx->sync_mode = 0;
#endif /* SYNC_MODE */
+ open_flags &= ~(O_CREAT|O_NOATIME|O_LARGEFILE);
} else if (!strcmp(fs, "ext4")) {
ctx->wr_block = EXT4_WRITEBLOCK;
ctx->pa_block = EXT4_PREALLOCATE;