Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 112ad560 authored by San Mehat's avatar San Mehat Committed by The Android Open Source Project
Browse files

am c3115b9e: vold: Logging to catch when the disk checker crashes (could...

am c3115b9e: vold: Logging to catch when the disk checker crashes (could happen due to a really messed up card)

Merge commit 'c3115b9e'

* commit 'c3115b9e':
  vold: Logging to catch when the disk checker crashes
parents 156f9c5e c3115b9e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;