mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_mkdir.cpp
This commit is contained in:
parent
a63a5d1a12
commit
70c861dd42
1 changed files with 4 additions and 0 deletions
|
|
@ -118,10 +118,14 @@ _mkdir(const ugid_t ugid_,
|
|||
rv = getattrPolicy_(branches_,fusedirpath,existingbranches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(existingbranches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
rv = mkdirPolicy_(branches_,fusedirpath,createbranches);
|
||||
if(rv < 0)
|
||||
return rv;
|
||||
if(createbranches.empty())
|
||||
return -ENOENT;
|
||||
|
||||
return ::_mkdir_loop(ugid_,
|
||||
existingbranches[0],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue