exFAT file system implementation library.
Free exFAT implementation.
- Copyright (C) 2010-2015 Andrew Nayenko
+ Copyright (C) 2010-2016 Andrew Nayenko
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
return exfat_flush_node(ef, node);
}
-int exfat_flush(struct exfat* ef)
+int exfat_flush_nodes(struct exfat* ef)
{
- int rc = flush_nodes(ef, ef->root);
+ return flush_nodes(ef, ef->root);
+}
+int exfat_flush(struct exfat* ef)
+{
if (ef->cmap.dirty)
{
if (exfat_pwrite(ef->dev, ef->cmap.chunk,
ef->cmap.dirty = false;
}
- return rc;
+ return 0;
}
static bool set_next_cluster(const struct exfat* ef, bool contiguous,