Merge "fs_mgt: Fix remount failure in case of non-overlayfs system"

This commit is contained in:
Treehugger Robot 2019-07-29 19:30:12 +00:00 committed by Gerrit Code Review
commit 09bbdcb6b3
1 changed files with 1 additions and 1 deletions

View File

@ -1009,7 +1009,7 @@ Fstab fs_mgr_overlayfs_candidate_list(const Fstab& fstab) {
Fstab candidates;
for (const auto& entry : fstab) {
FstabEntry new_entry = entry;
if (!fs_mgr_overlayfs_already_mounted(entry.mount_point) &&
if (!fs_mgr_overlayfs_already_mounted(entry.mount_point) ||
!fs_mgr_wants_overlayfs(&new_entry)) {
continue;
}