|
@@ -1856,6 +1856,9 @@ int ubi_thread(void *u)
|
|
*/
|
|
*/
|
|
static void shutdown_work(struct ubi_device *ubi)
|
|
static void shutdown_work(struct ubi_device *ubi)
|
|
{
|
|
{
|
|
|
|
+#ifdef CONFIG_MTD_UBI_FASTMAP
|
|
|
|
+ flush_work(&ubi->fm_work);
|
|
|
|
+#endif
|
|
while (!list_empty(&ubi->works)) {
|
|
while (!list_empty(&ubi->works)) {
|
|
struct ubi_work *wrk;
|
|
struct ubi_work *wrk;
|
|
|
|
|