diff options
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-ops.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-ops.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c index 6888fd9d5ec..b1686b32162 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c @@ -1299,12 +1299,7 @@ glusterd_op_stop_volume (dict_t *dict) if (ret) goto out; - if (glusterd_are_all_volumes_stopped ()) { - ret = glusterd_nodesvcs_stop (volinfo); - } else { - ret = glusterd_nodesvcs_handle_graph_change (volinfo); - } - + ret = glusterd_nodesvcs_handle_graph_change (volinfo); out: return ret; } |