From: Richard Weinberger Date: Sat, 28 Sep 2013 13:55:12 +0000 (+0200) Subject: UBI: Call scan_all() with correct offset in error case X-Git-Tag: v3.13-rc1~109^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b3e0a25aa5518892ec8dbfafdd6a57789aa0c22;p=pandora-kernel.git UBI: Call scan_all() with correct offset in error case If we find an invalid fastmap we have to scan from the very beginning. Otherwise we leak the first 64 PEBs. Reported-and-tested-by: Richard Genoud Signed-off-by: Richard Weinberger Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed