UBI: Add fastmap stuff to attach.c
- Export compare_lebs() as fastmap needs this function. - Implement fastmap scan logic. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:

committed by
Artem Bityutskiy

parent
8974b15c6e
commit
dac6e2087a
@@ -990,7 +990,7 @@ int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num,
|
||||
if (err)
|
||||
goto out_free;
|
||||
|
||||
err = ubi_attach(ubi);
|
||||
err = ubi_attach(ubi, 0);
|
||||
if (err) {
|
||||
ubi_err("failed to attach mtd%d, error %d", mtd->index, err);
|
||||
goto out_debugging;
|
||||
|
Reference in New Issue
Block a user