mtd: ubi: enable thread earlier
Since "57cebc4 mtd: ubi: Fix scrubbing during attach" we make sure
that the wear level worker does not start too early. However, now
there are cases when the worker starts too late. When a ubi image is
freshly written a volume may be autoresized. This has to be done
after the wear level worker is started because otherwise the initial
fastmap update will not be able to find any anchor PEBs.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 834f6bf commit 75ee6ab0765d67f84d8152d3d18065c17ea9b50c
@Sascha Hauer Sascha Hauer authored on 19 Oct 2016
Showing 1 changed file
View
drivers/mtd/ubi/build.c