linux/drivers/mtd
Zhihao Cheng c3fc1a3919 ubi: fastmap: Free fastmap next anchor peb during detach
ubi_wl_entry related with the fm_next_anchor PEB is not freed during
detach, which causes a memory leak.
Don't forget to release fm_next_anchor PEB while detaching ubi from
mtd when CONFIG_MTD_UBI_FASTMAP is enabled.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Fixes: 4b68bf9a69 ("ubi: Select fastmap anchor PEBs considering...")
Signed-off-by: Richard Weinberger <richard@nod.at>
2020-08-02 23:56:13 +02:00
..
chips mtd: cfi_cmdset_0001: Support the absence of protection registers 2020-04-30 23:42:57 +05:30
devices lib/bch: Allow easy bit swapping 2020-05-24 20:48:11 +02:00
hyperbus mtd: hyperbus: move direct mapping setup to AM654 HBMC driver 2020-03-03 10:13:11 +05:30
lpddr mtd: Convert fallthrough comments into statements 2020-03-30 10:14:54 +02:00
maps mtd: physmap_of_gemini: remove defined but not used symbol 'syscon_match' 2020-06-05 10:15:44 +02:00
nand mtd: rawnand: xway: Fix build issue 2020-07-07 21:04:38 +02:00
parsers mtd: parser: cmdline: Support MTD names containing one or more colons 2020-06-05 10:16:14 +02:00
spi-nor mtd: spi-nor: winbond: Fix 4-byte opcode support for w25q256 2020-05-31 08:34:16 +03:00
tests
ubi ubi: fastmap: Free fastmap next anchor peb during detach 2020-08-02 23:56:13 +02:00
ftl.c
inftlcore.c
inftlmount.c mtd: fix spelling mistake "BlockMultiplerBits" -> "BlockMultiplierBits" 2020-03-11 14:49:30 +01:00
Kconfig mtd: Support kmsg dumper based on pstore/blk 2020-05-31 19:49:01 -07:00
Makefile mtd: Support kmsg dumper based on pstore/blk 2020-05-31 19:49:01 -07:00
mtd_blkdevs.c
mtdblock.c mtd: clear cache_state to avoid writing to bad blocks repeatedly 2020-06-05 10:16:14 +02:00
mtdblock_ro.c
mtdchar.c mtd: implement proper partition handling 2020-03-11 14:49:30 +01:00
mtdconcat.c mtd: concat: Fix a comment referring to an unknown symbol 2020-01-27 17:45:31 +01:00
mtdcore.c mtd: set master partition panic write flag 2020-06-15 19:39:24 +02:00
mtdcore.h
mtdoops.c
mtdpart.c mtd: Add support for emulated SLC mode on MLC NANDs 2020-05-11 09:51:41 +02:00
mtdpstore.c mtd: Support kmsg dumper based on pstore/blk 2020-05-31 19:49:01 -07:00
mtdsuper.c
mtdswap.c mtd: no need to check return value of debugfs_create functions 2019-11-14 10:57:38 +01:00
nftlcore.c
nftlmount.c
rfd_ftl.c
sm_ftl.c mtd: sm_ftl: fix NULL pointer warning 2020-01-09 20:09:55 +01:00
sm_ftl.h
ssfdc.c