func_create_ff.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-02-04 21:42:31 -06:00
parent bbbbd50fc7
commit 660ecc9259

View File

@ -83,6 +83,7 @@ Func::CreateFF::operator()(Branches2 &branches_,
utils::cfg_to_ffi_flags(cfg,fc->pid,ffi_); utils::cfg_to_ffi_flags(cfg,fc->pid,ffi_);
if(cfg->writeback_cache) if(cfg->writeback_cache)
utils::tweak_flags_writeback_cache(&ffi_->flags); utils::tweak_flags_writeback_cache(&ffi_->flags);
ffi_->noflush = !utils::calculate_flush(cfg->flushonclose,ffi_->flags);
rv = l::create(branches_,fusepath_,mode_,fc->umask,ffi_); rv = l::create(branches_,fusepath_,mode_,fc->umask,ffi_);