Sebastian Siewior 6b238de189 mtd: ubi: don't leak e if schedule_erase() fails
If __erase_worker() fails to erase the EB and schedule_erase() fails as
well to do anything about it then we go RO. But that is not a reason to
leak the e argument here. Therefore clean up e.

Cc: <stable@vger.kernel.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
2015-12-16 22:59:03 +01:00
..
2015-11-06 23:26:51 +01:00
2015-12-16 22:45:04 +01:00
2015-04-13 21:05:17 +02:00
2015-10-03 20:09:55 +02:00
2015-11-06 23:26:50 +01:00
2015-10-03 20:09:41 +02:00
2014-11-07 15:14:09 +02:00
2015-03-26 22:47:38 +01:00