fuse_open.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-04-13 08:48:08 -05:00
parent b7a449d880
commit 01e0e98d4c

View File

@ -316,6 +316,17 @@ namespace FUSE
pti = PassthroughStuff::get_pti(fusepath_);
const std::lock_guard<std::mutex> lg(pti->mutex);
if(pti->backing_id)
{
std::string proc_filepath;
ffi_->backing_id = pti->backing_id;
proc_filepath = fmt::format("/proc/self/fd/{}",ffi_->fd);
}
l::config_to_ffi_flags(cfg,fc->pid,ffi_);
if(cfg->writeback_cache)