Merge "Handle non-format partition in Vold"

This commit is contained in:
Jeff Sharkey 2015-12-03 17:40:21 +00:00 committed by Gerrit Code Review
commit 385ca5d236

View file

@ -108,6 +108,11 @@ status_t Check(const std::string& source) {
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;