android_kernel_xiaomi_sm8350/drivers/mtd/ubi
Artem Bityutskiy 35ad5fb76c UBI: fix and cleanup volume opening functions
This patch fixes error codes of the functions - if the device number
is out of range, -EINVAL should be returned. It also removes unneeded
try_module_get call from the open by name function.

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: fix and cleanup volume opening functions 2007-12-26 19:15:15 +02:00
Kconfig
Kconfig.debug
Makefile
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