Skip to content
Snippets Groups Projects
Commit c3115b9e authored by San Mehat's avatar San Mehat
Browse files

vold: Logging to catch when the disk checker crashes

(could happen due to a really messed up card)

Signed-off-by: default avatarSan Mehat <san@google.com>
parent 1537d480
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment