mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ANDROID: dm-bow: Fix free_show value is incorrect
Fix free_show value is incorrect Change-Id: If7f36a64afa600c980ee8a25393f8716a6ffd474 Signed-off-by: Dylan Chang <[email protected]> Bug: 152116739 (cherry picked from commit feff0b2236497c0651baa7f59ea50c2377fff053) Signed-off-by: Paul Lawrence <[email protected]>
This commit is contained in:
parent
383156c695
commit
9503d046c9
1 changed files with 1 additions and 0 deletions
|
|
@ -792,6 +792,7 @@ static int prepare_unchanged_range(struct bow_context *bc, struct bow_range *br,
|
|||
*/
|
||||
original_type = br->type;
|
||||
sector0 = backup_br->sector;
|
||||
bc->trims_total -= range_size(backup_br);
|
||||
if (backup_br->type == TRIMMED)
|
||||
list_del(&backup_br->trimmed_list);
|
||||
backup_br->type = br->type == SECTOR0_CURRENT ? SECTOR0_CURRENT
|
||||
|
|
|
|||
Loading…
Reference in a new issue