Merge "fs_mgr: overlayfs: erofs is in staging"
This commit is contained in:
commit
932e77137c
1 changed files with 2 additions and 2 deletions
|
|
@ -137,9 +137,9 @@ bool fs_mgr_filesystem_has_space(const std::string& mount_point) {
|
||||||
|
|
||||||
bool fs_mgr_overlayfs_enabled(FstabEntry* entry) {
|
bool fs_mgr_overlayfs_enabled(FstabEntry* entry) {
|
||||||
// readonly filesystem, can not be mount -o remount,rw
|
// readonly filesystem, can not be mount -o remount,rw
|
||||||
// if squashfs or if free space is (near) zero making such a remount
|
// for squashfs, erofs or if free space is (near) zero making such a remount
|
||||||
// virtually useless, or if there are shared blocks that prevent remount,rw
|
// virtually useless, or if there are shared blocks that prevent remount,rw
|
||||||
if ("squashfs" == entry->fs_type || !fs_mgr_filesystem_has_space(entry->mount_point)) {
|
if (!fs_mgr_filesystem_has_space(entry->mount_point)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (entry->fs_mgr_flags.logical) {
|
if (entry->fs_mgr_flags.logical) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue