Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 7f174ae4 authored by Zhang Yi's avatar Zhang Yi Committed by Richard Weinberger
Browse files

ubi: correct the calculation of fastmap size


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: default avatarZhang Yi <yi.zhang@huawei.com>
Reviewed-by: default avatarZhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 788cd161
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment