mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_create.cpp
This commit is contained in:
parent
6b7b614733
commit
6bdf698ac2
1 changed files with 2 additions and 0 deletions
|
|
@ -224,6 +224,8 @@ _create(const ugid_t ugid_,
|
|||
rv = searchFunc_(branches_,fusedirpath,existingpaths);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(existingpaths.empty())
|
||||
return -ENOENT;
|
||||
|
||||
rv = createFunc_(branches_,fusedirpath,createpaths);
|
||||
if(rv < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue