mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 14:36:36 -05:00
Auto-commit fuse_rename.cpp
This commit is contained in:
parent
a43865c696
commit
28e3008543
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