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

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