UBI: Fastmap: Calc fastmap size correctly
authorRichard Weinberger <richard@nod.at>
Mon, 29 Sep 2014 22:20:46 +0000 (00:20 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 3 Oct 2014 14:33:28 +0000 (17:33 +0300)
commit91401a34038e614076dbfb5c4969a052e72fb296
tree67a08a15cc73324c25cdcf7907b09480581bc359
parent443b39cdd5c37661bf681858b327418c3a5b9d76
UBI: Fastmap: Calc fastmap size correctly

We need to add fm_sb too.

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