From 284f5e2e159e30c80135d7fbe942d5a57a741d34 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 13 Feb 2024 23:47:37 -0600 Subject: [PATCH] fuse_getattr.cpp --- src/fuse_getattr.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index cf63cd7e..4cb95c6e 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -103,22 +103,22 @@ namespace l switch(followsymlinks_) { case FollowSymlinks::ENUM::NEVER: - rv = fs::lstat(fullpath,st_); + rv = fs::lstat(fullpath_,st_); break; case FollowSymlinks::ENUM::DIRECTORY: - rv = fs::lstat(fullpath,st_); + rv = fs::lstat(fullpath_,st_); if(S_ISLNK(st_->st_mode)) - l::set_stat_if_leads_to_dir(fullpath,st_); + l::set_stat_if_leads_to_dir(fullpath_,st_); break; case FollowSymlinks::ENUM::REGULAR: - rv = fs::lstat(fullpath,st_); + rv = fs::lstat(fullpath_,st_); if(S_ISLNK(st_->st_mode)) - l::set_stat_if_leads_to_reg(fullpath,st_); + l::set_stat_if_leads_to_reg(fullpath_,st_); break; case FollowSymlinks::ENUM::ALL: - rv = fs::stat(fullpath,st_); + rv = fs::stat(fullpath_,st_); if(rv != 0) - rv = fs::lstat(fullpath,st_); + rv = fs::lstat(fullpath_,st_); break; }