fuse_open.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-04-13 08:49:09 -05:00
parent 01e0e98d4c
commit 0cdd870214

View File

@ -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);
}