UBI: Fix invalidate_fastmap()
Onging tests uncovered that invalidate_fastmap() is broken.
It must not call ubi_wl_put_fm_peb() because all PEBs used
by the old fastmap have already been put back.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
1 parent 92924e7 commit 54930d9f92ed45fd6c9fcd25c69dbb356bf5b97c
@Richard Weinberger Richard Weinberger authored on 19 Aug 2013
Sascha Hauer committed on 7 Jan 2014
Showing 1 changed file
View
drivers/mtd/ubi/fastmap.c