Merge "fs_mgr.cpp: fix the problem that the casefold feature not enabled for the data partition" am: d0ce499873 am: 959048182b
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1471662 Change-Id: Iaabb014740a77a72a27090c82aceb90cdeadc2be
This commit is contained in:
commit
7a956ed1df
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ static void tune_casefold(const std::string& blk_device, const FstabEntry& entry
|
|||
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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue