Browse Source

fuse_open.cpp

passthrough2
Antonio SJ Musumeci 9 months ago
parent
commit
6a54688842
  1. 6
      src/fuse_open.cpp

6
src/fuse_open.cpp

@ -307,7 +307,7 @@ namespace FUSE
return 0; return 0;
} }
int int
open_passthrough(const char *fusepath_, open_passthrough(const char *fusepath_,
fuse_file_info_t *ffi_) fuse_file_info_t *ffi_)
@ -320,7 +320,7 @@ namespace FUSE
pti = PassthroughStuff::get_pti(fusepath_); pti = PassthroughStuff::get_pti(fusepath_);
const std::lock_guard<std::mutex> lg(pti->mutex); const std::lock_guard<std::mutex> lg(pti->mutex);
l::config_to_ffi_flags(cfg,fc->pid,ffi_); l::config_to_ffi_flags(cfg,fc->pid,ffi_);
if(cfg->writeback_cache) if(cfg->writeback_cache)
@ -366,7 +366,7 @@ namespace FUSE
return open_passthrough(fusepath_,ffi_); return open_passthrough(fusepath_,ffi_);
return open_regular(fusepath_,ffi_); return open_regular(fusepath_,ffi_);
PTInfo *pti; PTInfo *pti;
pti = PassthroughStuff::get_pti(fusepath_); pti = PassthroughStuff::get_pti(fusepath_);

Loading…
Cancel
Save