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
9454ee00f4
commit
6d54e14f26
1 changed files with 2 additions and 0 deletions
|
|
@ -86,6 +86,8 @@ _rename_create_path(const Policy::Search &searchPolicy_,
|
|||
rv = actionPolicy_(branches_,oldfusepath_,oldbranches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(oldbranches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
rv = searchPolicy_(branches_,newfusepath_.parent_path(),newbranches);
|
||||
if(rv < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue