mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-30 12:33:49 +08:00
func_create_ff.cpp
This commit is contained in:
parent
bbbbd50fc7
commit
660ecc9259
|
@ -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_);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user