Merge "Enable metadata encryption for userdata_gsi."
This commit is contained in:
commit
99046b75c4
1 changed files with 6 additions and 1 deletions
7
main.cpp
7
main.cpp
|
@ -226,7 +226,7 @@ static int process_config(VolumeManager* vm, bool* has_adoptable, bool* has_quot
|
|||
*has_adoptable = false;
|
||||
*has_quota = false;
|
||||
*has_reserved = false;
|
||||
for (const auto& entry : fstab_default) {
|
||||
for (auto& entry : fstab_default) {
|
||||
if (entry.fs_mgr_flags.quota) {
|
||||
*has_quota = true;
|
||||
}
|
||||
|
@ -234,6 +234,11 @@ static int process_config(VolumeManager* vm, bool* has_adoptable, bool* has_quot
|
|||
*has_reserved = true;
|
||||
}
|
||||
|
||||
/* Make sure logical partitions have an updated blk_device. */
|
||||
if (entry.fs_mgr_flags.logical && !fs_mgr_update_logical_partition(&entry)) {
|
||||
PLOG(FATAL) << "could not find logical partition " << entry.blk_device;
|
||||
}
|
||||
|
||||
if (entry.fs_mgr_flags.vold_managed) {
|
||||
if (entry.fs_mgr_flags.nonremovable) {
|
||||
LOG(WARNING) << "nonremovable no longer supported; ignoring volume";
|
||||
|
|
Loading…
Reference in a new issue