summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-op-sm.c
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-08-26 03:32:21 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-26 07:30:54 -0700
commitfabb7e5e5dab69689bde255225748f8513a09d84 (patch)
tree7f7160fa19c105c5830dc7cadd34034f2b2ba70e /xlators/mgmt/glusterd/src/glusterd-op-sm.c
parent33dfb02e92eb64009d353057f567dec02295886c (diff)
Cli volume add-brick validation
Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1440 (volume add brick validation) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1440
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 5d3323f0dc7..03c1190a997 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -2408,6 +2408,7 @@ glusterd_op_send_cli_response (int32_t op, int32_t op_ret,
rsp.op_ret = op_ret;
rsp.op_errno = op_errno;
rsp.volname = "";
+ rsp.op_errstr = "";
cli_rsp = &rsp;
sfunc = gf_xdr_serialize_cli_add_brick_rsp;
break;