[thin] fix duplicated counting of mapped blocks in restore emitter

This commit is contained in:
Ming-Hung Tsai
2016-08-10 23:40:48 +08:00
parent 702a38f438
commit 6863db6f86
5 changed files with 8 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ thin::lookup(block_address thin_block)
return pool_->md_->mappings_->lookup(key);
}
void
bool
thin::insert(block_address thin_block, block_address data_block)
{
uint64_t key[2] = {dev_, thin_block};