From 0cdd870214c81e4b507b3433c6d185b073ce23dd Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sat, 13 Apr 2024 08:49:09 -0500 Subject: [PATCH] fuse_open.cpp --- src/fuse_open.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 58104ef8..0f03d24d 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -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); }