Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbc41163 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "fs_mgr: skip fs_mgr_overlayfs_required_devices w/o overlayfs in kernel"

parents 894da4e0 3a08c73a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 {};
    }