checkpoint

This commit is contained in:
Antonio SJ Musumeci 2022-05-15 13:11:02 -04:00
parent 2ae212ae81
commit cba7433166
35 changed files with 115 additions and 108 deletions

View file

@ -33,7 +33,7 @@ FUSE::GETATTR::FuncNewest::FuncNewest(const toml::value &toml_)
}
int
FUSE::GETATTR::FuncNewest::operator()(const char *fusepath_,
FUSE::GETATTR::FuncNewest::operator()(const gfs::path &fusepath_,
struct stat *st_,
fuse_timeouts_t *timeout_)
{
@ -46,8 +46,7 @@ FUSE::GETATTR::FuncNewest::operator()(const char *fusepath_,
{
for(const auto &branch : branch_group)
{
fullpath = branch.path;
fullpath /= &fusepath_[1];
fullpath = branch.path / fusepath_;
rv = _statfunc(fullpath,&st);
if(rv != 0)