Merge "fix data encryption fail when ENCRYPTION_FLAG_NO_UI is set"

gugelfrei
Treehugger Robot 5 years ago committed by Gerrit Code Review
commit c222ad20ee

@ -2253,6 +2253,7 @@ int cryptfs_enable_internal(int crypt_type, const char* passwd, int no_ui) {
* /data, set a property saying we're doing inplace encryption,
* and restart the framework.
*/
wait_and_unmount(DATA_MNT_POINT, true);
if (fs_mgr_do_tmpfs_mount(DATA_MNT_POINT)) {
goto error_shutting_down;
}

Loading…
Cancel
Save