diff options
Diffstat (limited to 'xlators')
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-op-sm.c | 1 | ||||
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.c | 1 | 
2 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index 4696b6ca343..ea4f5d63a79 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -527,6 +527,7 @@ glusterd_op_stage_stop_volume (dict_t *dict, char **op_errstr)                          gf_log ("", GF_LOG_ERROR, "Volume %s "                                  "has not been started", volname);                          *op_errstr = gf_strdup (msg); +                        ret = -1;                          goto out;                  }          } diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index bd32380e262..c4e555e8a3f 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -1159,6 +1159,7 @@ glusterd_volume_stop_glusterfs (glusterd_volinfo_t  *volinfo,          ret = glusterd_service_stop ("brick", pidfile, SIGTERM, _gf_false);          if (ret == 0) { +                glusterd_set_brick_status (brickinfo, GF_BRICK_STOPPED);                  ret = glusterd_brick_unlink_socket_file (volinfo, brickinfo);          }          return ret;  | 
