diff options
author | Pavan Sondur <pavan@gluster.com> | 2010-08-16 02:37:34 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-16 01:49:04 -0700 |
commit | 5065b0824ed01cca59501d74c227b136a5b0e65e (patch) | |
tree | a42ab52185544e0144e095e1767d368b92763a32 /xlators/mgmt/glusterd/src/glusterd-utils.c | |
parent | 659e2d938f4da023411114c13a14337c21083411 (diff) |
mgmt/glusterd: cli: Various fixes for replace brick.
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1304 (Free state info for replace brick)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1304
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index 959a9c99926..ab9936a7d09 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -771,8 +771,10 @@ glusterd_volume_start_glusterfs (glusterd_volinfo_t *volinfo, port, volfile, pidfile); ret = system (cmd_str); - if (ret == 0) + if (ret == 0) { pmap_registry_bind (THIS, port, brickinfo->path); + brickinfo->port = port; + } out: return ret; } |