Index: dm-bht.c |
diff --git a/dm-bht.c b/dm-bht.c |
index 8a5e33f67b82f7763aaef44f72092d530901b21f..83c9b8c09c51a7a53933ade6c404e516d03cb743 100644 |
--- a/dm-bht.c |
+++ b/dm-bht.c |
@@ -767,6 +767,7 @@ int dm_bht_store_block(struct dm_bht *bht, unsigned int block_index, |
return -ENOMEM; |
} |
entry->nodes = page_address(node_page); |
+ memset(entry->nodes, 0, PAGE_SIZE); |
/* TODO(wad) could expose this to the caller to that they |
* can transition from unallocated to ready manually. |
*/ |