[metadata_dumper] Fix bug where ranges were appearing in all devices for small metadata.
Author: Teng-Feng Yang
This commit is contained in:
parent
2ea9cf9961
commit
f2fe3ba2b3
@ -71,6 +71,7 @@ namespace {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (loc.path[0] == dev_id_)
|
||||
for (unsigned i = 0; i < n.get_nr_entries(); i++) {
|
||||
mapping_tree_detail::block_time bt = n.value_at(i);
|
||||
add_mapping(n.key_at(i), bt.block_, bt.time_);
|
||||
|
Loading…
Reference in New Issue
Block a user