commit | 385ca5d236547a767133abcd44dff12ca7b805be | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Dec 03 17:40:21 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Dec 03 17:40:21 2015 +0000 |
tree | 510d7ded801f230c0195043792a9afead5a75747 | |
parent | e0e5bfeb3c49419ceb53d2ea2b7410ddcfab35c5 [diff] | |
parent | 3dd39309d084f1c038ce4e8c1442aad2a7b94f0f [diff] |
Merge "Handle non-format partition in Vold"
diff --git a/fs/Vfat.cpp b/fs/Vfat.cpp index 7338c1e..df51eab 100644 --- a/fs/Vfat.cpp +++ b/fs/Vfat.cpp
@@ -108,6 +108,11 @@ errno = EIO; return -1; + case 8: + SLOGE("Filesystem check failed (no filesystem)"); + errno = ENODATA; + return -1; + default: SLOGE("Filesystem check failed (unknown exit code %d)", rc); errno = EIO;