Commit 5004cc65 authored by Dan Carpenter's avatar Dan Carpenter Committed by Sandeep Dhavale
Browse files

UPSTREAM: 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")
Bug: 267533689
Tests: launch_cvd
Change-Id: I49dcf8094655db47ac71ae8967b5402373fc7adc
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Reviewed-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/Y+4d0FRsUq8jPoOu@kili


Signed-off-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
(cherry picked from commit 8d1b80a7)
Signed-off-by: default avatarSandeep Dhavale <dhavale@google.com>
parent 566a7f6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment