mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-30 12:33:49 +08:00
fuse_create.cpp
This commit is contained in:
parent
7dd4df76f1
commit
d0146fb88f
|
@ -120,13 +120,13 @@ namespace FUSE
|
|||
const fuse_context *fc = fuse_get_context();
|
||||
const ugid::Set ugid(fc->uid,fc->gid);
|
||||
|
||||
l::config_to_ffi_flags(cfg,fc->pid,ffi_);
|
||||
utils::cfg_to_ffi_flags(cfg,fc->pid,ffi_);
|
||||
|
||||
if(cfg->writeback_cache)
|
||||
l::tweak_flags_writeback_cache(&ffi_->flags);
|
||||
cfg::tweak_flags_writeback_cache(&ffi_->flags);
|
||||
|
||||
ffi_->noflush = !l::calculate_flush(cfg->flushonclose,
|
||||
ffi_->flags);
|
||||
ffi_->noflush = !cfg::calculate_flush(cfg->flushonclose,
|
||||
ffi_->flags);
|
||||
|
||||
rv = l::create(cfg->func.getattr.policy,
|
||||
cfg->func.create.policy,
|
||||
|
|
Loading…
Reference in New Issue
Block a user