Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UBI: fix eraseblock picking criteria
The 'find_wl_entry()' function expects the maximum difference as the second argument, not the maximum absolute value. So the "unknown" eraseblock picking was incorrect, as Shmulik Ladkani spotted. This patch fixes the issue. Reported-by: Shmulik Ladkani <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Reviewed-by: Shmulik Ladkani <[email protected]> Cc: [email protected]
- Loading branch information