linux/drivers/mtd/ubi
Artem Bityutskiy fc75a1e166 UBI: fix error path
Error path in volume creation is bogus. First of, it ovverrides the
'err' variable and returns zero to the caller. Second, ubi_assert()
in the release function is wrong.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-12-26 19:15:15 +02:00
..
build.c UBI: tweak volumes locking 2007-12-26 19:15:15 +02:00
cdev.c UBI: get device when opening volume 2007-12-26 19:15:15 +02:00
debug.c UBI: use byte hexdump 2007-10-14 13:10:21 +03:00
debug.h UBI: use linux print_hex_dump(), not home-grown one 2007-10-14 13:10:20 +03:00
eba.c UBI: add some more comments 2007-12-26 19:15:15 +02:00
gluebi.c UBI: improve internal interfaces 2007-12-26 19:15:15 +02:00
io.c UBI: fix error code in ubi_io_read() 2007-12-26 19:15:13 +02:00
kapi.c UBI: get device when opening volume 2007-12-26 19:15:15 +02:00
Kconfig UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Kconfig.debug UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Makefile UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
misc.c UBI: improve internal interfaces 2007-12-26 19:15:15 +02:00
scan.c Merge branch 'master' of git://git.infradead.org/~dedekind/ubi-2.6 2007-10-14 14:29:00 +01:00
scan.h UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
ubi.h UBI: tweak volumes locking 2007-12-26 19:15:15 +02:00
upd.c UBI: tweak volumes locking 2007-12-26 19:15:15 +02:00
vmt.c UBI: fix error path 2007-12-26 19:15:15 +02:00
vtbl.c UBI: tweak volumes locking 2007-12-26 19:15:15 +02:00
wl.c UBI: create ubi_wl_entry slab on initialization 2007-12-26 19:15:14 +02:00