Guoqing Jiang 2dffdc0724 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>
2017-05-21 20:37:09 -07:00
..
2017-05-05 18:49:20 -07:00
2017-04-08 11:25:38 -06:00
2017-05-05 18:49:20 -07:00
2016-11-01 09:43:26 -06:00
2017-05-08 17:15:12 -07:00
2017-05-05 18:49:20 -07:00
2017-05-05 18:49:20 -07:00
2016-08-07 14:41:02 -06:00
2017-05-05 18:49:20 -07:00
2017-05-01 14:09:21 -07:00
2017-04-08 11:25:38 -06:00
2015-08-13 12:31:57 -06:00
2017-05-12 14:41:15 -07:00