aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/eba.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/ubi/eba.c')
-rw-r--r--drivers/mtd/ubi/eba.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c
index 16e34b37d134..8c9a710def99 100644
--- a/drivers/mtd/ubi/eba.c
+++ b/drivers/mtd/ubi/eba.c
@@ -1419,7 +1419,8 @@ int ubi_eba_init(struct ubi_device *ubi, struct ubi_attach_info *ai)
1419 * during re-size. 1419 * during re-size.
1420 */ 1420 */
1421 ubi_move_aeb_to_list(av, aeb, &ai->erase); 1421 ubi_move_aeb_to_list(av, aeb, &ai->erase);
1422 vol->eba_tbl[aeb->lnum] = aeb->pnum; 1422 else
1423 vol->eba_tbl[aeb->lnum] = aeb->pnum;
1423 } 1424 }
1424 } 1425 }
1425 1426