[metadata space map] index bitmap root wasn't being counted in count_metadata()

This commit is contained in:
Joe Thornber 2015-04-08 12:32:00 +01:00
parent 20079f3d28
commit 34df640d8d

View File

@ -646,6 +646,8 @@ namespace {
} }
virtual void count_metadata(block_counter &bc) const { virtual void count_metadata(block_counter &bc) const {
bc.inc(bitmap_root_);
for (unsigned i = 0; i < entries_.size(); i++) { for (unsigned i = 0; i < entries_.size(); i++) {
block_address b = entries_[i].blocknr_; block_address b = entries_[i].blocknr_;