ftl: fix typo

This commit is contained in:
S.J.R. van Schaik 2017-06-16 14:41:50 +02:00
parent dfa497198f
commit ed5e3ef8ea

View file

@ -301,7 +301,7 @@ static int find_head(struct ftl_map *map)
static void reset_map(struct ftl_map *map)
{
map->log2_erase_size = dev->log2_block_size;
map->log2_erase_size = map->dev->log2_block_size;
map->log2_page_size = ilog2(1 * KIB);
map->log2_block_size = ilog2(64 * KIB);