ftl: invalidate cached va during sync
This commit is contained in:
parent
018b0043a3
commit
6c7594acaa
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ int ftl_sync(struct ftl_map *map)
|
|||
return -1;
|
||||
|
||||
map->offset = 0;
|
||||
map->flags &= ~FTL_DIRTY;
|
||||
map->flags &= ~(FTL_CACHED_VA | FTL_UNMAPPED | FTL_DIRTY);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue