Merge "fs_mgr.cpp: fix the problem that the casefold feature not enabled for the data partition"
diff --git a/fs_mgr/fs_mgr.cpp b/fs_mgr/fs_mgr.cpp
index 5ff01e1..fe72393 100644
--- a/fs_mgr/fs_mgr.cpp
+++ b/fs_mgr/fs_mgr.cpp
@@ -527,7 +527,7 @@
bool wants_casefold =
android::base::GetBoolProperty("external_storage.casefold.enabled", false);
- if (entry.mount_point != "data" || !wants_casefold || has_casefold ) return;
+ if (entry.mount_point != "/data" || !wants_casefold || has_casefold) return;
std::string casefold_support;
if (!android::base::ReadFileToString(SYSFS_EXT4_CASEFOLD, &casefold_support)) {