]> git.baikalelectronics.ru Git - kernel.git/commit
UBI: Fix invalidate_fastmap()
authorRichard Weinberger <richard@nod.at>
Mon, 19 Aug 2013 20:31:49 +0000 (22:31 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 20 Aug 2013 14:53:25 +0000 (17:53 +0300)
commit08c4d60fd0d05e90d89a2d61c020c69c9f1fecec
treed42b70f388fa4c56bcfb821b026f7312b18d86ff
parent40283ab39320fc8df961b9a36d1fb83cde86bd1e
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>
drivers/mtd/ubi/fastmap.c