commit | 3126a113e7f45f54bb2475b1145a0467ae508308 | [log] [tgz] |
---|---|---|
author | Kjell Braden <k.twrp@brdn.eu> | Sun Jun 19 16:58:15 2016 +0000 |
committer | Dees Troy <dees_troy@teamw.in> | Mon Aug 22 16:51:30 2016 +0200 |
tree | 74fec3c471875c0d45397f77a65d4b12b30ef277 | |
parent | 0e2140e9310f15e658ac93b9fbe910cb2f2bd794 [diff] |
wait for cryptfs device node to come up this is to prevent a race condition to occur when mounting an adopted storage volume just after it was decrypted. After setting up the decrypted volume using cryptfs_setup_ext_volume(), Decrypt_Adopted() immediately calls Mount(), which will call Check_FS_Type(), which will fail in blkid_new_probe_from_filename, as the device node was not created yet. Change-Id: Ic5a274c2066ab278c9b7f1c8b83b820e552ca344
Team Win Recovery Project (TWRP)
You can find a compiling guide here.