mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
fuse_open.cpp
This commit is contained in:
parent
01e0e98d4c
commit
0cdd870214
1 changed files with 2 additions and 1 deletions
|
|
@ -318,11 +318,12 @@ namespace FUSE
|
|||
|
||||
if(pti->backing_id)
|
||||
{
|
||||
int fd;
|
||||
std::string proc_filepath;
|
||||
ffi_->backing_id = pti->backing_id;
|
||||
|
||||
proc_filepath = fmt::format("/proc/self/fd/{}",ffi_->fd);
|
||||
|
||||
fd = fs::open(proc_filepath,ffi_->flags);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue