kernel_samsung_a53x/drivers/mtd/ubi
Zhang Yi 99878259e2 ubi: correct the calculation of fastmap size
[ Upstream commit 7f174ae4f39e8475adcc09d26c5a43394689ad6c ]

Now that the calculation of fastmap size in ubi_calc_fm_size() is
incorrect since it miss each user volume's ubi_fm_eba structure and the
Internal UBI volume info. Let's correct the calculation.

Cc: stable@vger.kernel.org
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 09:22:16 +01:00
..
attach.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
block.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
build.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
eba.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fastmap-wl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fastmap.c ubi: correct the calculation of fastmap size 2024-11-19 09:22:16 +01:00
gluebi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kapi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
misc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ubi-media.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ubi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
upd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vtbl.c ubi: Check for too small LEB size in VTBL code 2024-11-19 09:22:16 +01:00
wl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00