Don't stop reporting free space at the first unchanged range

This commit is contained in:
Bryan Boreham committed 2016-06-08 11:53:35 +01:00
1 parent e2bee6e8c6
commit d1bba977f3
1 file changed
+1 -1
+1 -1
View File
@@ -451,7 +451,7 @@ func (r *Ring) ReportFree(freespace map[address.Address]address.Count) (updated
common.Assert(free <= address.Count(maxSize))
if entries[i].Free == free {
return
continue
}
entries[i].Free = free