commit | 63b77748946dc1c18c758d9094e8b735de5ef249 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Dec 03 17:43:17 2015 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Dec 03 17:43:17 2015 +0000 |
tree | 644b7f7574ad2626dcc9add83bfd778ddc01421e | |
parent | de629f105e12122ba042a8ae86b2130ef9a608bb [diff] | |
parent | 385ca5d236547a767133abcd44dff12ca7b805be [diff] |
Merge "Handle non-format partition in Vold" am: 385ca5d236 * commit '385ca5d236547a767133abcd44dff12ca7b805be': 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;