fs_mgr: skip fs_mgr_overlayfs_required_devices w/o overlayfs in kernel
Check if overlayfs is supplied in the kernel before proceeding to determining if there is a disabled verity and an overlayfs filesystem to deploy. Test: adb-remount-test.sh Bug: 119929969 Change-Id: I28116f0aa6959040bb9f38f46c058a221591f735
This commit is contained in:
parent
4055587ddd
commit
3a08c73ae0
1 changed files with 2 additions and 0 deletions
|
|
@ -790,6 +790,8 @@ bool fs_mgr_overlayfs_mount_all(const std::vector<const fstab_rec*>& fsrecs) {
|
|||
}
|
||||
|
||||
std::vector<std::string> fs_mgr_overlayfs_required_devices(fstab* fstab) {
|
||||
if (fs_mgr_overlayfs_valid() == OverlayfsValidResult::kNotSupported) return {};
|
||||
|
||||
if (fs_mgr_get_entry_for_mount_point(const_cast<struct fstab*>(fstab), kScratchMountPoint)) {
|
||||
return {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue