commit | f240dca8f2fdf11d52a7bacd867e274c3b21a7d3 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Sat Sep 28 15:55:11 2013 +0200 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Thu Oct 03 19:42:49 2013 +0300 |
tree | f9e283e8f3bd0dd62728e13c8a455cfaa6a2d108 | |
parent | fb10e4d418c73096ec61d8e80e2af282a5891039 [diff] |
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 <richard.genoud@gmail.com> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>