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:Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by:
Shaohua Li <shli@fb.com>
Loading
Please register or sign in to comment