UBI: Fix static volume checks when Fastmap is used
[deliverable/linux.git] / drivers / mtd / ubi / fastmap.c
index 263b439e21a88fc1df3e21f3e2eb4a0da43b8d1f..990898b9dc7289f881ecf357573bbc1d79bbf6ad 100644 (file)
@@ -1058,6 +1058,7 @@ int ubi_scan_fastmap(struct ubi_device *ubi, struct ubi_attach_info *ai,
        ubi_msg(ubi, "fastmap WL pool size: %d",
                ubi->fm_wl_pool.max_size);
        ubi->fm_disabled = 0;
+       ubi->fast_attach = 1;
 
        ubi_free_vid_hdr(ubi, vh);
        kfree(ech);
This page took 0.024238 seconds and 5 git commands to generate.