OSDN Git Service
(root)
/
android-x86
/
system-vold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21799c8
)
Exfat Need to add automatic repair function when exfat fsck device
author
shaozhongqi
<shaozhongqi@xiaomi.com>
Thu, 24 Oct 2019 02:31:03 +0000
(10:31 +0800)
committer
zhongqi shao
<shaozhongqi2359@gmail.com>
Thu, 31 Oct 2019 06:37:50 +0000
(06:37 +0000)
bug:
143229109
Test: Manual
Change-Id: Ibf650bdcb378dd9c07f904bdd18b36f376b45b61
Signed-off-by: shaozhongqi <shaozhongqi@xiaomi.com>
fs/Exfat.cpp
patch
|
blob
|
history
diff --git
a/fs/Exfat.cpp
b/fs/Exfat.cpp
index
c624eb9
..
34f1024
100644
(file)
--- a/
fs/Exfat.cpp
+++ b/
fs/Exfat.cpp
@@
-41,6
+41,7
@@
bool IsSupported() {
status_t Check(const std::string& source) {
std::vector<std::string> cmd;
cmd.push_back(kFsckPath);
+ cmd.push_back("-a");
cmd.push_back(source);
int rc = ForkExecvp(cmd, nullptr, sFsckUntrustedContext);