summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2020-02-10 16:26:34 +0300
committerRichard Weinberger <richard@nod.at>2020-03-31 00:02:35 +0300
commitc16f39d14a7e0ec59881fbdb22ae494907534384 (patch)
tree7b6ff55eb5802c7b8c5a2ebef3911e8e39a7a1a9 /tools/perf/scripts/python/export-to-sqlite.py
parent927cc5cec35f01fe4f8af0ba80830a90b0533983 (diff)
downloadlinux-c16f39d14a7e0ec59881fbdb22ae494907534384.tar.xz
ubi: fastmap: Free unused fastmap anchor peb during detach
When CONFIG_MTD_UBI_FASTMAP is enabled, fm_anchor will be assigned a free PEB during ubi_wl_init() or ubi_update_fastmap(). However if fastmap is not used or disabled on the MTD device, ubi_wl_entry related with the PEB will not be freed during detach. So Fix it by freeing the unused fastmap anchor during detach. Fixes: f9c34bb52997 ("ubi: Fix producing anchor PEBs") Reported-by: syzbot+f317896aae32eb281a58@syzkaller.appspotmail.com Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Hou Tao <houtao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions