[cache_check] Now checks discard bitset

This commit is contained in:
Joe Thornber
2013-10-11 10:22:02 +01:00
parent e3d87c5386
commit ea15a329d7
3 changed files with 60 additions and 14 deletions

View File

@@ -118,7 +118,7 @@ metadata::open_metadata(block_manager<>::ptr bm)
if (sb_.discard_root)
discard_bits_ = bitset::ptr(
new bitset(tm_, sb_.discard_root, sb_.cache_blocks));
new bitset(tm_, sb_.discard_root, sb_.discard_nr_blocks));
}
void