summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2011-03-20 03:25:50 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-20 06:01:34 -0700
commit941442ced02900128c6893caa6159bac2f1d9683 (patch)
treebd105a129dabf236a9b5debfc740bf1c6ce20525 /xlators/mgmt
parent24d326a5180adaedf8d49a2d087afa0ec470a537 (diff)
mgmt/glusterd: Dont reset the port on brick stop
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2564 (replace brick fails on master) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2564
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index e3a509af1..2b62c13cc 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;
}