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

...instead of generic self checking.

Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
Richard Weinberger 2014-10-27 13:00:26 +01:00
parent daef3dd1f0
commit 560d86a1a2
1 changed files with 1 additions and 1 deletions

View File

@ -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();