Browse Source

fuse_open.cpp

passthrough2
Antonio SJ Musumeci 7 months ago
parent
commit
0cdd870214
  1. 3
      src/fuse_open.cpp

3
src/fuse_open.cpp

@ -318,11 +318,12 @@ namespace FUSE
if(pti->backing_id) if(pti->backing_id)
{ {
int fd;
std::string proc_filepath; std::string proc_filepath;
ffi_->backing_id = pti->backing_id; ffi_->backing_id = pti->backing_id;
proc_filepath = fmt::format("/proc/self/fd/{}",ffi_->fd); proc_filepath = fmt::format("/proc/self/fd/{}",ffi_->fd);
fd = fs::open(proc_filepath,ffi_->flags);
} }

Loading…
Cancel
Save