mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
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:
parent
daef3dd1f0
commit
560d86a1a2
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue