UBI: fix ubi free PEBs count calculation
The ubi->free_count should be updated with every insert/remove to/from the ubi->free list. Signed-off-by: NTanya Brokhman <tlinder@codeaurora.org> Reviewed-by: NDolev Raviv <draviv@codeaurora.org> Acked-by: NRichard Weinberger <richard@nod.at> Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Showing
想要评论请 注册 或 登录