From 9bbcf313c3f1d11b55722dcd37a1dc7f216cc9fe Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 14 Mar 2024 11:29:28 -0500 Subject: [PATCH] fuse_getattr.cpp --- src/fuse_getattr.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 4eb856e7..b8343423 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -152,7 +152,14 @@ namespace l basepath = cache.insert(fusepath_,basepaths[0]); } - + fullpath = fs::path::make(basepath,fusepath_); + + rv = l::getattr(fullpath,followsymlinks_,st_); + if(rv == 0) + break; + if((rv == -1) && (errno != ENOENT)) + break; + for(int c = 0; c < 2; c++)