diff options
| author | Zhihao Cheng <[email protected]> | 2021-12-27 03:22:42 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2022-01-10 22:09:08 +0000 |
| commit | c3c07fc25f37c157fde041b3a0c3dfcb1590cbce (patch) | |
| tree | 6d847f606237b5dce6fd82ad9aaa4233e2c1b20a /net/unix/af_unix.c | |
| parent | ubifs: Fix to add refcount once page is set private (diff) | |
| download | kernel-c3c07fc25f37c157fde041b3a0c3dfcb1590cbce.tar.gz kernel-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 <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
