]> bbs.cooldavid.org Git - net-next-2.6.git/commit
UBI: fix and clean-up error paths in WL worker
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 24 May 2009 08:58:58 +0000 (11:58 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 2 Jun 2009 10:53:35 +0000 (13:53 +0300)
commit87960c0b12d0c5a0b37e0c79aef77aa1a0b10d44
tree1ca72a382460891273e273064624bd92f8fc3d9a
parent90bf0265e5b0d561f215a69bb7a46c4071b2c93b
UBI: fix and clean-up error paths in WL worker

This patch fixes the error path in the WL worker - in same cases
UBI oopses when 'goto out_error' happens and e1 or e2 are NULL.
This patch also cleans up the error paths a little. And I have
tested nearly all error paths in the WL worker.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/eba.c
drivers/mtd/ubi/wl.c