OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Repairing: implement invalid node checksum fix.
[android-x86/external-exfat.git]
/
libexfat
/
node.c
diff --git
a/libexfat/node.c
b/libexfat/node.c
index
1ccb1c9
..
9270ccf
100644
(file)
--- a/
libexfat/node.c
+++ b/
libexfat/node.c
@@
-223,7
+223,8
@@
static bool check_node(const struct exfat* ef, struct exfat_node* node,
exfat_get_name(node, buffer);
exfat_error("'%s' has invalid checksum (%#hx != %#hx)", buffer,
le16_to_cpu(actual_checksum), le16_to_cpu(meta1->checksum));
- ret = false;
+ if (!EXFAT_REPAIR(invalid_node_checksum, ef, node))
+ ret = false;
}
/*