mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 06:56:27 -05:00
Auto-commit fs_movefile_and_open.cpp
This commit is contained in:
parent
e654e08c46
commit
317a20dd28
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue