diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2021-12-27 04:22:42 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2022-01-10 23:09:08 +0100 |
commit | c3c07fc25f37c157fde041b3a0c3dfcb1590cbce (patch) | |
tree | 6d847f606237b5dce6fd82ad9aaa4233e2c1b20a /fs | |
parent | ubifs: Fix to add refcount once page is set private (diff) | |
download | linux-c3c07fc25f37c157fde041b3a0c3dfcb1590cbce.tar.xz linux-c3c07fc25f37c157fde041b3a0c3dfcb1590cbce.zip |
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')
0 files changed, 0 insertions, 0 deletions