From f7a82290419ba345a9d65bfa09f43264c35d0033 Mon Sep 17 00:00:00 2001 From: mulhern Date: Fri, 13 Dec 2024 21:13:10 -0500 Subject: [PATCH] Fix bug that hid unused space on devices Signed-off-by: mulhern --- src/engine/strat_engine/pool/inspection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/strat_engine/pool/inspection.rs b/src/engine/strat_engine/pool/inspection.rs index c4b542735d..ab2bfd6911 100644 --- a/src/engine/strat_engine/pool/inspection.rs +++ b/src/engine/strat_engine/pool/inspection.rs @@ -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;