Message ID | 1417349728-9070-6-git-send-email-richard@nod.at |
---|---|
State | Accepted |
Headers | show |
diff --git a/drivers/mtd/ubi/attach.c b/drivers/mtd/ubi/attach.c index 40e6bf6..9bc70eb 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();
...instead of generic self checking. Signed-off-by: Richard Weinberger <richard@nod.at> --- drivers/mtd/ubi/attach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)