Skip to content

Commit

Permalink
Merge pull request #3732 from mulkieran/stratisd-tools-printmetadata-…
Browse files Browse the repository at this point in the history
…unused

Fix bug that hid unused space on devices
  • Loading branch information
mulkieran authored Dec 14, 2024
2 parents 59e00f5 + f7a8229 commit e87eee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/strat_engine/pool/inspection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ where
for &start in starts {
let (used, length) = extents[&start];
if start > current_offset {
result.insert(start, (filler, start - current_offset));
result.insert(current_offset, (filler, start - current_offset));
}
result.insert(start, (used, length));
current_offset = start + length;
Expand Down

0 comments on commit e87eee5

Please sign in to comment.