fs_mgt: Fix remount failure in case of non-overlayfs system
$ adb remount W DM_DEV_STATUS failed for scratch: No such device or address E Can not mount overlayfs for partitions: No such file or directory /system/bin/remount exited with status 8 remount failed Bug: 138407617 Test: $ adb remount Change-Id: I0f359071234b57324ad2324905b5239dbfa44d01 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
d11603646a
commit
588fe9e8af
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue