commit | 2dffdc0724004f38f5e39907747b53e4b0d80e59 | [log] [tgz] |
---|---|---|
author | Guoqing Jiang <gqjiang@suse.com> | Tue May 16 14:01:25 2017 +0800 |
committer | Shaohua Li <shli@fb.com> | Sun May 21 20:37:09 2017 -0700 |
tree | f45ab141f5ca4b9f9ce3b8758393937e99a82597 | |
parent | 08332893e37af6ae779367e78e444f8f9571511d [diff] |
md-cluster: fix potential lock issue in add_new_disk The add_new_disk returns with communication locked if __sendmsg returns failure, fix it with call unlock_comm before return. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> CC: Goldwyn Rodrigues <rgoldwyn@suse.com> Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>