summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-03-07 19:08:36 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-03-09 09:39:31 +0200
commit7eb3aa65853e1b223bfc786b023b702018cb76c0 (patch)
tree3242d8bbff42f7ec5c2678790683471ff4c54861 /kernel
parentadd8287e3fa2160229117c9e1b7c9ca8cb661423 (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