mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-22 07:56:32 -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
|
|
@ -108,15 +108,15 @@ namespace msppfrd
|
|||
string fusepath;
|
||||
|
||||
fusepath = fusepath_;
|
||||
do
|
||||
for(;;)
|
||||
{
|
||||
error = msppfrd::create_1(branches_,fusepath,branchinfo_,sum_);
|
||||
if(branchinfo_->size())
|
||||
return error;
|
||||
|
||||
break;
|
||||
if(fusepath == "/")
|
||||
break;
|
||||
fusepath = fs::path::dirname(fusepath);
|
||||
}
|
||||
while(!fusepath.empty());
|
||||
|
||||
return error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue