Commit 560d86a1 authored by Richard Weinberger's avatar Richard Weinberger

UBI: Fastmap: Make self_check_eba() depend on fastmap self checking

...instead of generic self checking.
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent daef3dd1
......@@ -1458,7 +1458,7 @@ int ubi_attach(struct ubi_device *ubi, int force_scan)
goto out_wl;
#ifdef CONFIG_MTD_UBI_FASTMAP
if (ubi->fm && ubi_dbg_chk_gen(ubi)) {
if (ubi->fm && ubi_dbg_chk_fastmap(ubi)) {
struct ubi_attach_info *scan_ai;
scan_ai = alloc_ai();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment