mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-22 14:54:38 +08:00
fuse_open.cpp
This commit is contained in:
parent
b7a449d880
commit
01e0e98d4c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user