Put FS into a clean state when all files are closed. Flush to the
non-volatile storage is not enforced though, so there can (and most
probably will) be some dirty data in various OS- and hardware-controlled
caches.
}
node->flags &= ~EXFAT_ATTRIB_DIRTY;
}
node->flags &= ~EXFAT_ATTRIB_DIRTY;
+ return exfat_flush(ef);
}
static bool erase_entry(struct exfat* ef, struct exfat_node* node)
}
static bool erase_entry(struct exfat* ef, struct exfat_node* node)