Loading fs_mgr/fs_mgr_overlayfs.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -642,6 +642,10 @@ bool fs_mgr_overlayfs_set_shared_mount(const std::string& mount_point, bool shar if (ret) { PERROR << "__mount(target=" << mount_point << ",flag=" << (shared_flag ? "MS_SHARED" : "MS_PRIVATE") << ")=" << ret; // If "/system" doesn't look like a mountpoint, retry with "/". if (errno == EINVAL && mount_point == "/system") { return fs_mgr_overlayfs_set_shared_mount("/", shared_flag); } return false; } return true; Loading Loading
fs_mgr/fs_mgr_overlayfs.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -642,6 +642,10 @@ bool fs_mgr_overlayfs_set_shared_mount(const std::string& mount_point, bool shar if (ret) { PERROR << "__mount(target=" << mount_point << ",flag=" << (shared_flag ? "MS_SHARED" : "MS_PRIVATE") << ")=" << ret; // If "/system" doesn't look like a mountpoint, retry with "/". if (errno == EINVAL && mount_point == "/system") { return fs_mgr_overlayfs_set_shared_mount("/", shared_flag); } return false; } return true; Loading