Remove space check from overlayfs test

This check means that drives are remounted with overlayfs more or less
at random, which means that overlayfs_remounter selinux policy will have
to be very permissive to support all possible remounts.

Test: system/core/fs_mgr/tests/adb-remount-test.sh, confirmation from
reporter that this does indeed fix their issue

Bug: 394657884
Change-Id: I2b340f5df1a609ad5b8e2214bbe7afddec23ca31
diff --git a/fs_mgr/fs_mgr_overlayfs_mount.cpp b/fs_mgr/fs_mgr_overlayfs_mount.cpp
index b63b9e7..69d3161 100644
--- a/fs_mgr/fs_mgr_overlayfs_mount.cpp
+++ b/fs_mgr/fs_mgr_overlayfs_mount.cpp
@@ -194,9 +194,8 @@
 
 static bool fs_mgr_overlayfs_enabled(FstabEntry* entry) {
     // readonly filesystem, can not be mount -o remount,rw
-    // 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
-    if (!fs_mgr_filesystem_has_space(entry->mount_point)) {
+    // for squashfs, erofs, or if there are shared blocks that prevent remount,rw
+    if (entry->fs_type == "erofs" || entry->fs_type == "squashfs") {
         return true;
     }