Merge "Handle non-format partition in Vold"
This commit is contained in:
commit
385ca5d236
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue