ftl: initialise the offset in the map
This commit is contained in:
parent
952f2e63fb
commit
846ea90bdc
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue