mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fuse_open.cpp
This commit is contained in:
parent
3736163c25
commit
2192cdd5af
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ namespace FUSE
|
|||
std::string proc_filepath;
|
||||
ffi_->backing_id = pti->backing_id;
|
||||
|
||||
proc_filepath = fmt::format("/proc/self/fd/{}",pti->fd);
|
||||
proc_filepath = fmt::format("/proc/self/fd/{}",pti->path_fd);
|
||||
fd = fs::open(proc_filepath,ffi_->flags);
|
||||
if(fd == -1)
|
||||
return -errno;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue