diff options
author | Mohammed Junaid Ahmed <junaid@gluster.com> | 2011-02-14 19:27:34 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-02-15 21:44:27 -0800 |
commit | 5a6720f1ee4ad6d96dae23742315c8ef35555a3b (patch) | |
tree | 1741c6a5fdf6431011223c6d07363da3b5c7c337 /rpc | |
parent | 98cfaa15d8c51728ea4d3555667328b94ef497c1 (diff) |
syncdaemon: Moved the gsync start code to cli.
Signed-off-by: Junaid <junaid@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1570 (geosync related changes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.c | 2 | ||||
-rw-r--r-- | rpc/xdr/src/cli1-xdr.h | 1 | ||||
-rw-r--r-- | rpc/xdr/src/cli1.x | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/rpc/xdr/src/cli1-xdr.c b/rpc/xdr/src/cli1-xdr.c index 3a2f6a421..453513aa3 100644 --- a/rpc/xdr/src/cli1-xdr.c +++ b/rpc/xdr/src/cli1-xdr.c @@ -669,6 +669,8 @@ xdr_gf1_cli_gsync_set_rsp (XDR *xdrs, gf1_cli_gsync_set_rsp *objp) return FALSE; if (!xdr_int (xdrs, &objp->type)) return FALSE; + if (!xdr_int (xdrs, &objp->config_type)) + return FALSE; if (!xdr_string (xdrs, &objp->op_name, ~0)) return FALSE; if (!xdr_string (xdrs, &objp->master, ~0)) diff --git a/rpc/xdr/src/cli1-xdr.h b/rpc/xdr/src/cli1-xdr.h index c47494312..302b1f8ab 100644 --- a/rpc/xdr/src/cli1-xdr.h +++ b/rpc/xdr/src/cli1-xdr.h @@ -416,6 +416,7 @@ struct gf1_cli_gsync_set_rsp { int op_errno; char *op_errstr; int type; + int config_type; char *op_name; char *master; char *slave; diff --git a/rpc/xdr/src/cli1.x b/rpc/xdr/src/cli1.x index 97c50f6fd..0e18c6ab9 100644 --- a/rpc/xdr/src/cli1.x +++ b/rpc/xdr/src/cli1.x @@ -301,6 +301,7 @@ struct gf1_cli_gsync_set_rsp { int op_errno; string op_errstr<>; int type; + int config_type; string op_name<>; string master<>; string slave<>; |