From: Richard Weinberger Date: Sat, 28 Sep 2013 13:55:11 +0000 (+0200) Subject: UBI: Fix error path in scan_pool() X-Git-Tag: v3.13-rc1~109^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f240dca8f2fdf11d52a7bacd867e274c3b21a7d3;p=pandora-kernel.git UBI: Fix error path in scan_pool() We have to set "ret", not "err" in case of an error. Reported-and-tested-by: Richard Genoud Signed-off-by: Richard Weinberger Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed