From a3caf447ef61bbb0857b6486f458d4dd7e8adac9 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 13 Feb 2024 23:20:08 -0600 Subject: [PATCH] fuse_getattr.cpp --- src/fuse_getattr.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index dd74680b..287529f0 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -143,7 +143,10 @@ namespace l } if(rv == -1) - return -errno; + { + cache.erase(fusepath_); + return -errno; + } if(symlinkify_ && symlinkify::can_be_symlink(*st_,symlinkify_timeout_)) symlinkify::convert(fullpath,st_);