diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-03-07 05:30:11 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-03-07 05:30:11 +0100 |
commit | 4ae94ae7f2bad17d45fc86436d6f0272545ab475 (patch) | |
tree | 873ed8c3472abe5b5b02259d8ba6058e0a00ecfb /default.c | |
parent | 59fc684596b21cca65636649144c1a0932a4dfd6 (diff) | |
download | fastwriter-4ae94ae7f2bad17d45fc86436d6f0272545ab475.tar.gz fastwriter-4ae94ae7f2bad17d45fc86436d6f0272545ab475.tar.bz2 fastwriter-4ae94ae7f2bad17d45fc86436d6f0272545ab475.tar.xz fastwriter-4ae94ae7f2bad17d45fc86436d6f0272545ab475.zip |
Clean open flags in raw mode
Diffstat (limited to 'default.c')
-rw-r--r-- | default.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |