[space_map (rust)] Fix cache hit with async-io

This commit is contained in:
Ming-Hung Tsai
2021-06-22 18:39:40 +08:00
parent 5dd2e81bf0
commit 361d19adaa
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ fn adjust_counts(
let nr_free = ie.nr_free - (end - begin) as u32;
// Read the bitmap
let bitmap_block = w.engine.read(ie.blocknr)?;
let bitmap_block = w.read(ie.blocknr)?;
let (_, mut bitmap) = Bitmap::unpack(bitmap_block.get_data())?;
// Update all the entries