Richard Weinberger f240dca8f2 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>
2013-10-03 19:42:49 +03:00
..
2013-06-29 12:57:49 +04:00
2012-10-03 12:29:37 +03:00
2013-10-03 19:42:49 +03:00
2012-12-10 13:38:59 +02:00
2012-10-03 16:39:37 +03:00
2012-10-03 16:39:37 +03:00
2012-09-04 09:39:01 +03:00
2012-12-10 13:38:59 +02:00
2013-10-03 19:42:46 +03:00