Patchwork [BUG:2564] mgmt/glusterd: Dont reset the port on brick stop

login
register
Submitter Pranith K
Date 2011-03-20 08:55:50
Message ID <20110320085525.GA14425@dev.gluster.com>
Download mbox | patch
Permalink /patch/6521/
State Accepted
Headers show

Comments

Pranith K - 2011-03-20 08:55:50
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
---
 xlators/mgmt/glusterd/src/glusterd-utils.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index e3a509a..2b62c13 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -1126,7 +1126,6 @@  glusterd_volume_stop_glusterfs (glusterd_volinfo_t  *volinfo,
         ret = glusterd_service_stop ("brick", pidfile, SIGTERM, _gf_false);
         if (ret == 0) {
                 ret = glusterd_brick_unlink_socket_file (volinfo, brickinfo);
-                brickinfo->port = 0;
         }
         return ret;
 }