OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01be539
)
Flush clusters bitmap on each file close.
author
relan
<relan@users.noreply.github.com>
Sat, 7 Nov 2015 08:10:29 +0000
(11:10 +0300)
committer
relan
<relan@users.noreply.github.com>
Sat, 7 Nov 2015 08:25:48 +0000
(11:25 +0300)
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.
libexfat/node.c
patch
|
blob
|
history
diff --git
a/libexfat/node.c
b/libexfat/node.c
index
f3d10e0
..
d05f20d
100644
(file)
--- a/
libexfat/node.c
+++ b/
libexfat/node.c
@@
-664,7
+664,7
@@
int exfat_flush_node(struct exfat* ef, struct exfat_node* node)
}
node->flags &= ~EXFAT_ATTRIB_DIRTY;
- return
0
;
+ return
exfat_flush(ef)
;
}
static bool erase_entry(struct exfat* ef, struct exfat_node* node)