]> git.sur5r.net Git - u-boot/commit
ubi: Fix broken cleanup code in attach_by_scanning
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 8 Apr 2013 10:32:46 +0000 (10:32 +0000)
committerTom Rini <trini@ti.com>
Thu, 11 Apr 2013 19:52:54 +0000 (15:52 -0400)
commit76c1637e95f738add192aa6d338c2f90a981d661
tree931cf42afcac460d93f06e6654ce460db9334006
parent3d38910151e3d069a164190763c7b03d11f1eec4
ubi: Fix broken cleanup code in attach_by_scanning

The unwind code was not reversing operations correctly and was causing
a hang on any error condition.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/mtd/ubi/build.c
drivers/mtd/ubi/wl.c