mtd: ubi: Fix ubi free count calculation
The ubi->free_count should be updated with every insert/remove to/from
the ubi->free list.
CRs-fixed: 626564
Change-Id: I953bac59a45b171a7c55389838ba4856389fe4de
Signed-off-by:
Tanya Brokhman <tlinder@codeaurora.org>
Loading
Please register or sign in to comment