mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 17:43: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
@ -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…
x
Reference in New Issue
Block a user