mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-25 09:41:43 +08:00
fuse_getattr.cpp
This commit is contained in:
parent
bbddfc3334
commit
de4f5012c2
|
@ -159,7 +159,10 @@ namespace l
|
|||
{
|
||||
rv = searchFunc_(branches_,fusepath_,&basepaths);
|
||||
if(rv == -1)
|
||||
return -errno;
|
||||
{
|
||||
_cache.erase(fusepath_);
|
||||
return -errno;
|
||||
}
|
||||
|
||||
basepath = cache.insert(fusepath_,basepaths[0]);
|
||||
|
||||
|
@ -167,7 +170,10 @@ namespace l
|
|||
}
|
||||
|
||||
if(rv == -1)
|
||||
return -errno;
|
||||
{
|
||||
|
||||
return -errno;
|
||||
}
|
||||
|
||||
if(symlinkify_ && symlinkify::can_be_symlink(*st_,symlinkify_timeout_))
|
||||
symlinkify::convert(fullpath,st_);
|
||||
|
|
Loading…
Reference in New Issue
Block a user