From fd61732dd7453c355163639754365676186b112e Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 22 Feb 2024 00:29:14 -0600 Subject: [PATCH] fuse_getattr.cpp --- src/fuse_getattr.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 2a43c10b..6ff8712c 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -152,7 +152,9 @@ namespace l if(rv == -1) return -errno; - basepath = cache.insert(fusepath_,basepaths[0]); + basepath = basepaths[0]; + cache.insert(fusepath_,basepath.value()); + } fullpath = fs::path::make(basepath.value(),fusepath_);