Browse Source

fuse_create.cpp

toml4
Antonio SJ Musumeci 11 months ago
parent
commit
d0146fb88f
  1. 8
      src/fuse_create.cpp

8
src/fuse_create.cpp

@ -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…
Cancel
Save