UBI: Fastmap: Remove bogus ubi_assert()
authorRichard Weinberger <richard@nod.at>
Tue, 7 Oct 2014 16:51:07 +0000 (18:51 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 21:45:58 +0000 (22:45 +0100)
commita83832a7c8d023f446ec865926190951bd18a4b1
tree4b00e237f31ef379fb49338668206640fd15029a
parent36a87e44f642966442fd0d23f2ec536851e00236
UBI: Fastmap: Remove bogus ubi_assert()

It is legal to have PEBs left in the used list.
This can happen if UBI copies a PEB and a powercut happens
between writing a new fastmap and adding this PEB into the EBA table.
In this case the old PEB will be used.

Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/fastmap.c