diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-03-07 19:08:36 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-03-09 09:39:31 +0200 |
commit | 7eb3aa65853e1b223bfc786b023b702018cb76c0 (patch) | |
tree | 3242d8bbff42f7ec5c2678790683471ff4c54861 /kernel | |
parent | add8287e3fa2160229117c9e1b7c9ca8cb661423 (diff) |
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 <shmulik.ladkani@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Reviewed-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Cc: stable@kernel.org
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions