UBI: Fastmap: Care about the protection queue
authorRichard Weinberger <richard@nod.at>
Mon, 24 Nov 2014 13:20:31 +0000 (14:20 +0100)
committerRichard Weinberger <richard@nod.at>
Wed, 28 Jan 2015 15:09:45 +0000 (16:09 +0100)
commit4f5e3b6fadf9513c770c62fce404cae890c15147
tree9c8e56527c22f559f02ded9ae3f1c2996feffa4b
parentfb4325a3d9f983160f142b919880ccbe2304bc25
UBI: Fastmap: Care about the protection queue

Fastmap can miss a PEB if it is in the protection queue
and not jet in the used tree.
Treat every protected PEB as used.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/fastmap.c