Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[thin_dump] Fix regression where mappings for all devices were being …
…listed in every device.
  • Loading branch information
jthornber committed Jun 28, 2013
1 parent ceba0f0 commit fe8e159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thin-provisioning/metadata_dumper.cc
Expand Up @@ -51,7 +51,7 @@ namespace {
return false;
}

return (loc.is_sub_root() && loc.key) ? (*loc.key == dev_id_) : true;
return loc.is_sub_root() ? (loc.path[0] == dev_id_) : true;
}

bool visit_internal_leaf(node_location const &loc,
Expand Down

0 comments on commit fe8e159

Please sign in to comment.