Merge "fs_mgr: Use /proc/mounts to check if /cache is mounted" into main

This commit is contained in:
Yi-Yo Chiang 2023-09-13 06:46:58 +00:00 committed by Gerrit Code Review
commit 7881073ec8

View file

@ -688,7 +688,7 @@ bool fs_mgr_overlayfs_setup(const Fstab& fstab, const char* mount_point, bool* w
continue;
}
} else {
if (GetEntryForMountPoint(&fstab, overlay_mount_point) == nullptr) {
if (!fs_mgr_overlayfs_already_mounted(overlay_mount_point, false /* overlay */)) {
continue;
}
}