diff --git a/source/ftl/ftl.c b/source/ftl/ftl.c index 3f7bb54..6f08e40 100644 --- a/source/ftl/ftl.c +++ b/source/ftl/ftl.c @@ -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; }