Red Hat Bugzilla – Bug 765553
call cli_cmd_unlock in the same function as cli_cmd_lock
Last modified: 2013-12-18 19:07:06 EST
cli_cmd_submit calls cli_cmd_lock, but cli_cmd_unlock is done in
cli_cmd_await_response. It is clearer to do the locking and unlocking in
the same function.
Only cli_cmd_submit seems to call cli_cmd_await_response, therefore
moving the cli_cmd_unlock to cli_cmd_submit should be safe.
Vijay Bellur requested to open a bug: http://review.gluster.com/721
CHANGE: http://review.gluster.com/721 (cli_cmd_submit calls cli_cmd_lock, but cli_cmd_unlock is done in) merged in master by Vijay Bellur (firstname.lastname@example.org)