提交 560d86a1 编写于 作者: R Richard Weinberger

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

...instead of generic self checking.
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 daef3dd1
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册