From: Tanya Brokhman Date: Tue, 1 Apr 2014 08:02:07 +0000 (+0300) Subject: UBI: fix ubi free PEBs count calculation X-Git-Tag: omap-for-v3.16/fixes-against-rc1~221^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d21bb7667c4b57a15077d60d23385d9a1c01d08;p=pandora-kernel.git 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: Tanya Brokhman Reviewed-by: Dolev Raviv Acked-by: Richard Weinberger Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed