mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_getattr.cpp
This commit is contained in:
parent
3dab00943a
commit
180dc0b970
1 changed files with 2 additions and 0 deletions
|
|
@ -134,6 +134,8 @@ _getattr(const Policy::Search &searchFunc_,
|
|||
rv = searchFunc_(branches_,fusepath_,branches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(branches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
fullpath = branches[0]->path / fusepath_;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue