summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorZhihao Cheng <chengzhihao1@huawei.com>2020-07-07 21:41:01 +0800
committerRichard Weinberger <richard@nod.at>2020-08-02 23:56:13 +0200
commitc3fc1a3919e35a9d8157ed3ae6fd0a478293ba2c (patch)
tree5e79c3113b3cd452d8491859a27d8d3349adcf71 /fs/ubifs
parent3b185255bb2f34fa6927619b9ef27f192a3d9f5a (diff)
downloadlinux-stable-c3fc1a3919e35a9d8157ed3ae6fd0a478293ba2c.tar.gz
linux-stable-c3fc1a3919e35a9d8157ed3ae6fd0a478293ba2c.tar.bz2
linux-stable-c3fc1a3919e35a9d8157ed3ae6fd0a478293ba2c.zip
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: 4b68bf9a69d22d ("ubi: Select fastmap anchor PEBs considering...") Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions