summaryrefslogtreecommitdiff
path: root/fs/jffs2/jffs2_fs_i.h
diff options
context:
space:
mode:
authorZhihao Cheng <chengzhihao1@huawei.com>2021-12-27 06:22:42 +0300
committerRichard Weinberger <richard@nod.at>2022-01-11 01:09:08 +0300
commitc3c07fc25f37c157fde041b3a0c3dfcb1590cbce (patch)
tree6d847f606237b5dce6fd82ad9aaa4233e2c1b20a /fs/jffs2/jffs2_fs_i.h
parent3b67db8a6ca83e6ff90b756d3da0c966f61cd37b (diff)
downloadlinux-c3c07fc25f37c157fde041b3a0c3dfcb1590cbce.tar.xz
ubi: fastmap: Return error code if memory allocation fails in add_aeb()
Abort fastmap scanning and return error code if memory allocation fails in add_aeb(). Otherwise ubi will get wrong peb statistics information after scanning. Fixes: dbb7d2a88d2a7b ("UBI: Add fastmap core") Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/jffs2/jffs2_fs_i.h')
0 files changed, 0 insertions, 0 deletions