UBI fastmap updates

Richard Weinberger
2013-09-28T13:55:53Z

this series is a collection of all pending UBI fastmap updates.

Richard Genoud found issues in combination with U-Boot.
These issues also uncovered other minor issues in some error paths.
Only one fix is not really fastmap specific and touches generic
UBI code, "UBI: simplify image sequence test".

Thanks,
//richard

Richard Genoud (2):
UBI: fastmap: fix backward compatibility with image_seq
UBI: simplify image sequence test

Richard Weinberger (5):
UBI: fix refill_wl_user_pool()
UBI: Fix error path in scan_pool()
UBI: Call scan_all() with correct offset in error case
UBI: Fix memory leak in ubi_attach_fastmap() error path
UBI: Add some asserts to ubi_attach_fastmap()

drivers/mtd/ubi/attach.c | 11 ++++++-----
drivers/mtd/ubi/fastmap.c | 41 +++++++++++++++++++++++++++++++++++++----
drivers/mtd/ubi/wl.c | 4 ----
3 files changed, 43 insertions(+), 13 deletions(-)