android_kernel_xiaomi_sm8350/drivers/mtd
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
..
chips [MTD] [CHIPS] Remove MTD_OBSOLETE_CHIPS (jedec, amd_flash, sharp) 2007-05-09 13:34:37 +01:00
devices [MIPS] Remove Momenco Ocelot C support 2007-07-10 17:33:01 +01:00
maps [MIPS] remove LASAT Networks platforms support 2007-07-10 17:33:04 +01:00
nand [MIPS] Remove Momenco Ocelot C support 2007-07-10 17:33:01 +01:00
onenand Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
ubi UBI: cleanup usage of try_module_get 2007-07-18 16:58:45 +03:00
afs.c
cmdlinepart.c
ftl.c
inftlcore.c
inftlmount.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
Kconfig [S390] Kconfig: menus with depends on HAS_IOMEM. 2007-05-10 15:46:07 +02:00
Makefile [MTD] generalise the handling of MTD-specific superblocks 2007-05-11 12:14:15 +01:00
mtd_blkdevs.c Freezer: make kernel threads nonfreezable by default 2007-07-17 10:23:02 -07:00
mtdblock_ro.c
mtdblock.c
mtdchar.c
mtdconcat.c
mtdcore.c
mtdpart.c [MTD] Delete allegedly obsolete "bank_size" field of mtd_info. 2007-05-09 13:26:52 +01:00
mtdsuper.c [MTD] Fix error checking after get_mtd_device() in get_sb_mtd functions 2007-06-01 19:21:59 +01:00
nftlcore.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
nftlmount.c
redboot.c
rfd_ftl.c
ssfdc.c