summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyeongsik Min <hyeongsik.min@samsung.com>2015-10-29 13:48:05 +0900
committerDmitry Kovalenko <d.kovalenko@samsung.com>2015-10-29 00:34:39 -0700
commit0c1549b2af1e1043508f87ed35d5a3945ecfa431 (patch)
treea9d9cff72608c18b4f052f2520a17288832b681e
parent1a3b6645e1bc5c356b515d71c4c675e3b8c72e5d (diff)
downloadswap-modules-0c1549b2af1e1043508f87ed35d5a3945ecfa431.tar.gz
swap-modules-0c1549b2af1e1043508f87ed35d5a3945ecfa431.tar.bz2
swap-modules-0c1549b2af1e1043508f87ed35d5a3945ecfa431.zip
[FIX] Preload: fix slup corruption issue
target_binaries_slots is already updated in __alloc_target_binaries_no_lock() Change-Id: Icb8cf149359425ee93bd45c525e036d247b2b752 Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
-rw-r--r--preload/preload_control.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/preload/preload_control.c b/preload/preload_control.c
index bce8183d..24c45465 100644
--- a/preload/preload_control.c
+++ b/preload/preload_control.c
@@ -93,8 +93,6 @@ static int __grow_target_binaries(void)
if (ret != 0)
return ret;
- target_binaries_slots += DEFAULT_SLOTS_STEP;
-
for (i = 0; i < target_binaries_cnt; i++) {
target_binaries[i].dentry = tmp[i].dentry;
target_binaries[i].filename = tmp[i].filename;