Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
fix size change sign
Browse files Browse the repository at this point in the history
  • Loading branch information
schomatis committed Jun 20, 2021
1 parent f511da4 commit 8223156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/directory.go
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ func (d *UpgradeableDirectory) RemoveChild(ctx context.Context, name string) err
}

if HAMTShardingSize == 0 && // Option disabled.
hamtDir.sizeChange < 0 { // We haven't reduced the HAMT net size.
hamtDir.sizeChange >= 0 { // We haven't reduced the HAMT net size.
return nil
}

Expand Down

0 comments on commit 8223156

Please sign in to comment.