OSDN Git Service

cryptfs: [HACK] reboot if the crypto block dev failed to open
authorJP Abgrall <jpa@google.com>
Sat, 11 Oct 2014 01:43:41 +0000 (18:43 -0700)
committerJP Abgrall <jpa@google.com>
Thu, 16 Oct 2014 20:55:52 +0000 (20:55 +0000)
commit512f0d52ac5f85b327872e085d9fe6f02517eadf
treec0a39d3198a6cb5ba41349ed592ac3971860a9f4
parent7776871d82050bac3e6bb307a68caef973305516
cryptfs: [HACK] reboot if the crypto block dev failed to open

There are cases where the /dev/block/dm-0 fails to open.
This leads to the device not completing the boot up sequence.
Currently, the only way out is to reboot.

Bug: 17898962
Change-Id: If4583ebb1ef1ebdbaf680d69b876459aaec2f4ce
(cherry picked from commit 7fc1de8a44307d6c51826ab90f804702e08d1e6d)
cryptfs.c
cryptfs.h