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 VBR checksum fix.
[android-x86/external-exfat.git]
/
libexfat
/
mount.c
diff --git
a/libexfat/mount.c
b/libexfat/mount.c
index
eedb07c
..
4284aee
100644
(file)
--- a/
libexfat/mount.c
+++ b/
libexfat/mount.c
@@
-150,7
+150,8
@@
static bool verify_vbr_checksum(const struct exfat* ef, void* sector)
{
exfat_error("invalid VBR checksum 0x%x (expected 0x%x)",
le32_to_cpu(((const le32_t*) sector)[i]), vbr_checksum);
- return false;
+ if (!EXFAT_REPAIR(invalid_vbr_checksum, ef, sector, vbr_checksum))
+ return false;
}
return true;
}