Merge "Store result of mount_all for mounted userdata by metadata encryption"

This commit is contained in:
Treehugger Robot 2020-11-03 02:18:24 +00:00 committed by Gerrit Code Review
commit 8df6d9e0de
1 changed files with 2 additions and 0 deletions

View File

@ -1534,6 +1534,8 @@ MountAllResult fs_mgr_mount_all(Fstab* fstab, int mount_mode) {
attempted_entry.mount_point},
nullptr)) {
++error_count;
} else if (current_entry.mount_point == "/data") {
userdata_mounted = true;
}
encryptable = FS_MGR_MNTALL_DEV_IS_METADATA_ENCRYPTED;
continue;