Browse Source

fuse_create.cpp

toml4
Antonio SJ Musumeci 9 months ago
parent
commit
d0146fb88f
  1. 6
      src/fuse_create.cpp

6
src/fuse_create.cpp

@ -120,12 +120,12 @@ namespace FUSE
const fuse_context *fc = fuse_get_context(); const fuse_context *fc = fuse_get_context();
const ugid::Set ugid(fc->uid,fc->gid); 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) 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_->noflush = !cfg::calculate_flush(cfg->flushonclose,
ffi_->flags); ffi_->flags);
rv = l::create(cfg->func.getattr.policy, rv = l::create(cfg->func.getattr.policy,

Loading…
Cancel
Save