mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_link.cpp
This commit is contained in:
parent
eecb881fd1
commit
5beeedda24
1 changed files with 2 additions and 0 deletions
|
|
@ -94,6 +94,8 @@ _link_create_path(const Policy::Search &searchFunc_,
|
|||
rv = searchFunc_(ibranches_,newfusedirpath,newbranches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(newbranches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
return ::_link_create_path_loop(oldbranches,newbranches[0],
|
||||
oldfusepath_,newfusepath_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue