From b92ba844e87b0c4be943174e40e1c869551525c4 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 14 Mar 2024 07:49:50 -0500 Subject: [PATCH] fuse_getattr.cpp --- src/fuse_getattr.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 767766db..3ec41488 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -152,8 +152,7 @@ namespace l if(rv == -1) return -errno; - cache.insert(fusepath_,basepaths[0]); - basepath = basepaths[0].c_str(); + basepath = cache.insert(fusepath_,basepaths[0]); } fullpath = fs::path::make(basepath,fusepath_);