diff options
author | Dan Carpenter <error27@gmail.com> | 2023-02-16 15:13:04 +0300 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2023-02-16 22:51:53 +0800 |
commit | 8d1b80a79452630f157bf634ae9cfcd9f4eed161 (patch) | |
tree | bc9c33ccf5e6a32cc894fcfd4affa60af63d057b /crypto/crypto_null.c | |
parent | 61fef98945d0b2fea522ef958f57a783e2a072a9 (diff) |
erofs: fix an error code in z_erofs_init_zip_subsystem()
Return -ENOMEM if alloc_workqueue() fails. Don't return success.
Fixes: d8a650adf429 ("erofs: add per-cpu threads for decompression as an option")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/Y+4d0FRsUq8jPoOu@kili
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'crypto/crypto_null.c')
0 files changed, 0 insertions, 0 deletions