diff --git a/src/func_create_ff.cpp b/src/func_create_ff.cpp index 7004ba19..b064474a 100644 --- a/src/func_create_ff.cpp +++ b/src/func_create_ff.cpp @@ -59,6 +59,7 @@ namespace l FileInfo *fi = new FileInfo(rv,fusepath_,ffi_->direct_io); ffi_->fh = reinterpret_cast(fi); + ffi_->noflush = !utils::calculate_flush(cfg->flushonclose,ffi_->flags); return 0; }