summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/kapi.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-04 20:36:12 +0100
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-26 18:15:14 +0100
commit94780d4de2e9339ab93df63420db70f11882634d (patch)
tree39c83f8c66ca2529d5e30560818ef85e97992c76 /drivers/mtd/ubi/kapi.c
parentUBI: fix error code in ubi_io_read() (diff)
downloadlinux-94780d4de2e9339ab93df63420db70f11882634d.tar.xz
linux-94780d4de2e9339ab93df63420db70f11882634d.zip
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>
Diffstat (limited to 'drivers/mtd/ubi/kapi.c')
0 files changed, 0 insertions, 0 deletions