sload_f2fs: update code for correct binary name
Change-Id: I7c14ec0b76d82d2b0951fd57fbc7184acc09d25a
diff --git a/Android.mk b/Android.mk
index e10e688..18982e9 100755
--- a/Android.mk
+++ b/Android.mk
@@ -550,7 +550,7 @@
mkfs.ntfs
endif
ifeq ($(TARGET_USERIMAGES_USE_F2FS), true)
- TWRP_REQUIRED_MODULES += sload.f2fs \
+ TWRP_REQUIRED_MODULES += sload_f2fs \
libfs_mgr \
fs_mgr \
liblz4 \
diff --git a/partition.cpp b/partition.cpp
index fcc919f..f0e4160 100755
--- a/partition.cpp
+++ b/partition.cpp
@@ -2441,7 +2441,7 @@
}
needs_casefold = android::base::GetBoolProperty("external_storage.casefold.enabled", false);
- needs_projid = android::base::GetBoolProperty("external_storage.projid.enabled", false);
+ needs_projid = android::base::GetBoolProperty("external_storage.projid.enabled", false);
unsigned long long dev_sz = TWFunc::IOCTL_Get_Block_Size(Actual_Block_Device.c_str());
if (!dev_sz)
return false;
@@ -2458,8 +2458,8 @@
f2fs_command += " " + Actual_Block_Device + " " + dev_sz_str;
- if (TWFunc::Path_Exists("/system/bin/sload.f2fs")) {
- f2fs_command += " && sload.f2fs -t /data " + Actual_Block_Device;
+ if (TWFunc::Path_Exists("/system/bin/sload_f2fs")) {
+ f2fs_command += " && sload_f2fs -t /data " + Actual_Block_Device;
}
/**