Auto-commit fs_movefile_and_open.cpp

This commit is contained in:
Antonio SJ Musumeci 2026-04-15 10:02:07 -05:00
parent e654e08c46
commit 317a20dd28

View file

@ -82,6 +82,8 @@ _movefile_and_open(const Policy::Create &createFunc_,
rv = createFunc_(branches_,fusepath_,dst_branch);
if(rv < 0)
return rv;
if(dst_branch.empty())
return -ENOSPC;
origfd_flags = fs::getfl(origfd_);
if(origfd_flags < 0)