Exfat Need to add automatic repair function when exfat fsck device

bug:143229109

Test: Manual

Change-Id: Ibf650bdcb378dd9c07f904bdd18b36f376b45b61
Signed-off-by: shaozhongqi <shaozhongqi@xiaomi.com>
This commit is contained in:
shaozhongqi 2019-10-24 10:31:03 +08:00 committed by zhongqi shao
parent 21799c8f7d
commit 081cf8efdb

View file

@ -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);