diff options
author | Richard Weinberger <richard@nod.at> | 2014-10-27 08:00:26 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-03-26 17:46:05 -0400 |
commit | 560d86a1a210000b33859cd66e051fcb516a3559 (patch) | |
tree | 1953d231104ef40acf979db4f89ae4254c9f6fb0 | |
parent | daef3dd1f0ae71bf04a32af4ef643baf040bb73d (diff) |
UBI: Fastmap: Make self_check_eba() depend on fastmap self checking
...instead of generic self checking.
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r-- | drivers/mtd/ubi/attach.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1458 | goto out_wl; | 1458 | goto out_wl; |
1459 | 1459 | ||
1460 | #ifdef CONFIG_MTD_UBI_FASTMAP | 1460 | #ifdef CONFIG_MTD_UBI_FASTMAP |
1461 | if (ubi->fm && ubi_dbg_chk_gen(ubi)) { | 1461 | if (ubi->fm && ubi_dbg_chk_fastmap(ubi)) { |
1462 | struct ubi_attach_info *scan_ai; | 1462 | struct ubi_attach_info *scan_ai; |
1463 | 1463 | ||
1464 | scan_ai = alloc_ai(); | 1464 | scan_ai = alloc_ai(); |