ftl: initialise the offset in the map

This commit is contained in:
S.J.R. van Schaik 2017-07-24 16:36:22 +02:00
parent 952f2e63fb
commit 846ea90bdc

View file

@ -312,6 +312,7 @@ static void reset_map(struct ftl_map *map)
map->flags = 0;
map->last_va = 0;
map->last_pa = 0;
map->offset = 0;
map->head = 0;
map->tail = 0;
map->root = UINT32_MAX;