am c3115b9e: vold: Logging to catch when the disk checker crashes (could happen due to a really messed up card)
Merge commit 'c3115b9ec2f9bc07e6ffd7d7bb7338415822c338' * commit 'c3115b9ec2f9bc07e6ffd7d7bb7338415822c338': vold: Logging to catch when the disk checker crashes
This commit is contained in:
commit
112ad56038
|
@ -66,6 +66,9 @@ int vfat_check(blkdev_t *dev)
|
|||
} else if (rc == 2) {
|
||||
LOG_VOL("Filesystem check failed (not a FAT filesystem)");
|
||||
return -ENODATA;
|
||||
} else if (rc == -11) {
|
||||
LOG_VOL("Filesystem check crashed");
|
||||
return -EIO;
|
||||
} else {
|
||||
LOG_VOL("Filesystem check failed (unknown exit code %d)", rc);
|
||||
return -EIO;
|
||||
|
|
Loading…
Reference in New Issue