Auto-commit fuse_rename.cpp

This commit is contained in:
Antonio SJ Musumeci 2026-04-15 11:24:18 -05:00
parent 9454ee00f4
commit 6d54e14f26

View file

@ -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)