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:
San Mehat 2009-06-25 14:34:01 -07:00 committed by The Android Open Source Project
commit 112ad56038
1 changed files with 3 additions and 0 deletions

View File

@ -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;