mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 17:36:25 -05:00
checkpoint
This commit is contained in:
parent
2ae212ae81
commit
cba7433166
35 changed files with 115 additions and 108 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue