mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-25 17:57:41 +08:00
fuse_open.cpp
This commit is contained in:
parent
01e0e98d4c
commit
0cdd870214
|
@ -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…
Reference in New Issue
Block a user