mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 06:56:27 -05:00
msp policies stopped before root path
This commit is contained in:
parent
8a335d8a6e
commit
44a98910ba
5 changed files with 24 additions and 31 deletions
|
|
@ -85,15 +85,15 @@ namespace msplus
|
|||
|
||||
error = ENOENT;
|
||||
fusepath = fusepath_;
|
||||
do
|
||||
for(;;)
|
||||
{
|
||||
basepath = msplus::create_1(branches_,fusepath,&error);
|
||||
if(basepath)
|
||||
break;
|
||||
|
||||
if(fusepath == "/")
|
||||
break;
|
||||
fusepath = fs::path::dirname(fusepath);
|
||||
}
|
||||
while(!fusepath.empty());
|
||||
|
||||
if(basepath == NULL)
|
||||
return (errno=error,-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue