diff options
author | Avra Sengupta <asengupt@redhat.com> | 2013-02-04 16:10:57 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-02-08 19:05:50 -0800 |
commit | bbd6fb6e98f414719fc0a63c7de03d360154aa21 (patch) | |
tree | 90646eb85b600bdb8463e4d06074a8363fda7b2c /xlators/mgmt/glusterd/src | |
parent | 4a28ab092da134cb44888aee7efa290d9b81c87d (diff) |
glusterd: Making volume-reset use synctask framework
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Change-Id: Ib25c8fa69d84b8132505ae3f1e67cf88d3f6f9ec
BUG: 852147
Reviewed-on: http://review.gluster.org/4474
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-handler.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index 6359b560a4b..b99f53929d0 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -1252,13 +1252,9 @@ glusterd_handle_reset_volume (rpcsvc_request_t *req) goto out; } - ret = glusterd_op_begin (req, GD_OP_RESET_VOLUME, dict, - err_str, sizeof (err_str)); + ret = glusterd_op_begin_synctask (req, GD_OP_RESET_VOLUME, dict); out: - glusterd_friend_sm (); - glusterd_op_sm (); - if (ret) { if (err_str[0] == '\0') snprintf (err_str, sizeof (err_str), |