Skip to content
Commit 255939e7 authored by Wei Yongjun's avatar Wei Yongjun Committed by Ilya Dryomov
Browse files

rbd: fix error return code in rbd_dev_device_setup()



Fix to return -ENOMEM from the workqueue alloc error handling
case instead of 0, as done elsewhere in this function.

Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
parent 58d1362b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment