From: Richard Weinberger Date: Mon, 27 Oct 2014 12:00:26 +0000 (+0100) Subject: UBI: Fastmap: Make self_check_eba() depend on fastmap self checking X-Git-Tag: v4.1-rc1~122^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=560d86a1a210000b33859cd66e051fcb516a3559;p=karo-tx-linux.git UBI: Fastmap: Make self_check_eba() depend on fastmap self checking ...instead of generic self checking. Signed-off-by: Richard Weinberger --- diff --git a/drivers/mtd/ubi/attach.c b/drivers/mtd/ubi/attach.c index 5d89b3fb1d3c..42d465add385 100644 --- a/drivers/mtd/ubi/attach.c +++ b/drivers/mtd/ubi/attach.c @@ -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();