mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_rename.cpp
This commit is contained in:
parent
45dd290b5f
commit
9454ee00f4
1 changed files with 2 additions and 0 deletions
|
|
@ -90,6 +90,8 @@ _rename_create_path(const Policy::Search &searchPolicy_,
|
|||
rv = searchPolicy_(branches_,newfusepath_.parent_path(),newbranches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(newbranches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
for(auto &branch : *branches_)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue