commit | 94780d4de2e9339ab93df63420db70f11882634d | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Tue Dec 04 21:36:12 2007 +0200 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Wed Dec 26 19:15:14 2007 +0200 |
tree | 39c83f8c66ca2529d5e30560818ef85e97992c76 | |
parent | 2362a53ec59f286495307e0e0d8ef2401e8c5c49 [diff] |
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>