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

Commit 8223156

Browse files
committed
fix size change sign
1 parent f511da4 commit 8223156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/directory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ func (d *UpgradeableDirectory) RemoveChild(ctx context.Context, name string) err
578578
}
579579

580580
if HAMTShardingSize == 0 && // Option disabled.
581-
hamtDir.sizeChange < 0 { // We haven't reduced the HAMT net size.
581+
hamtDir.sizeChange >= 0 { // We haven't reduced the HAMT net size.
582582
return nil
583583
}
584584

0 commit comments

Comments
 (0)