linux_dsm_epyc7002/drivers/mtd/ubi
Fernando Luis Vázquez Cao 2db61c95c0 UBI: cleanup usage of try_module_get
The use of try_module_get(THIS_MODULE) in ubi_get_device_info does not
offer real protection against unexpected driver unloads, since we could
be preempted before try_modules_get gets executed. It is the caller who
should manipulate the refcounts. Besides, ubi_get_device_info is an
exported symbol which guarantees protection when accessed through
symbol_get.

Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-07-18 16:58:45 +03:00
..
build.c UBI: fix message 2007-07-18 16:56:13 +03:00
cdev.c UBI: cleanup ioctl handling 2007-07-18 16:53:36 +03:00
debug.c UBI: bugfix in error path 2007-07-18 16:55:55 +03:00
debug.h UBI: bugfix in error path 2007-07-18 16:55:55 +03:00
eba.c UBI: fix bug in atomic_leb_change() 2007-07-18 16:56:24 +03:00
gluebi.c UBI: set correct gluebi device size 2007-07-18 16:52:51 +03:00
io.c UBI: fix signed-unsigned multiplication 2007-07-18 16:57:34 +03:00
kapi.c UBI: cleanup usage of try_module_get 2007-07-18 16:58:45 +03: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: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
scan.c UBI: bugfix in max_sqnum calculation 2007-07-18 16:58:02 +03:00
scan.h UBI: fix error path in create_vtbl() 2007-07-18 16:52:32 +03:00
ubi.h UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
upd.c UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
vmt.c UBI: fix overflow bug 2007-07-18 16:58:12 +03:00
vtbl.c UBI: fix overflow bug 2007-07-18 16:58:12 +03:00
wl.c UBI: kill homegrown endian macros 2007-07-18 16:53:49 +03:00