ftl: use write_page_desc() in ftl_trim()

This commit is contained in:
S.J.R. van Schaik 2017-06-23 16:03:42 +02:00
parent 7a3e5a7679
commit 22028021ca
3 changed files with 7 additions and 2 deletions

View file

@ -83,7 +83,7 @@ int read_page_desc(struct ftl_map *map,
/* Writes the page descriptor to the footer of the current page group and
* increments the head to point to the next free user page.
*/
static int write_page_desc(struct ftl_map *map,
int write_page_desc(struct ftl_map *map,
const struct ftl_page_desc *page_desc)
{
struct ftl_page_group group;