Browse Source

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

...instead of generic self checking.

Signed-off-by: Richard Weinberger <richard@nod.at>
Richard Weinberger 11 years ago
parent
commit
560d86a1a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/ubi/attach.c

+ 1 - 1
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();