Skip to content
Commit 0f6187db authored by Wei Yongjun's avatar Wei Yongjun Committed by Shaohua Li
Browse files

md-cluster: fix error return code in join()



Fix to return error code -ENOMEM from the lockres_init() error
handling case instead of 0, as done elsewhere in this function.

Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarShaohua Li <shli@fb.com>
parent 486b0f7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment