ftl: use write_page_desc() in ftl_trim()
This commit is contained in:
parent
7a3e5a7679
commit
22028021ca
3 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue