Store result of mount_all for mounted userdata by metadata encryption
When the userdata is mounted, its result will be stored and return. But the result is not stored when the userdata is mounted with metadata encryption. Store the result of metadata encryption mount. Bug: 172180818 Test: run cts-on-gsi -m CtsUserspaceRebootHostSideTestCases Change-Id: I88b1b4f6a2b1ed81773e18243cb6c46244dc1ba5
This commit is contained in:
parent
c635d568ed
commit
12d95df367
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue