Artem Bityutskiy 94780d4de2 UBI: bugfix: allocate mandatory EBs first
First allocate the necessary eraseblocks, then the optional ones.
Otherwise it allocates all PEBs for bad EB handling, and fails
on then following EBA LEB allocation.

Reported-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-12-26 19:15:14 +02:00
..
2007-10-14 13:10:21 +03:00
2007-10-14 13:10:21 +03:00
2007-12-26 19:15:13 +02:00
2007-10-14 13:10:21 +03:00
2007-10-14 13:10:21 +03:00
2007-10-14 13:10:21 +03:00
2007-10-19 11:53:43 -07:00