Files
Artem Bityutskiy 5f1968d427 UBI: fix eraseblock picking criteria
commit 7eb3aa6585 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-02 09:27:17 -07:00
..
2012-01-25 17:24:44 -08:00
2011-05-20 08:30:34 +03:00
2012-01-25 17:24:44 -08:00
2011-04-14 13:38:59 +03:00
2011-03-08 10:12:48 +02:00
2011-04-05 11:08:59 +03:00
2009-06-03 17:45:23 +03:00
2012-04-02 09:27:17 -07:00
2010-01-18 18:53:56 +02:00
2011-04-05 11:08:58 +03:00
2012-04-02 09:27:17 -07:00