diff options
author | Csaba Henk <csaba@gluster.com> | 2011-04-19 07:19:17 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-21 00:39:50 -0700 |
commit | 0dd8c38d17e51c4b8bd1471854315e27c25cc615 (patch) | |
tree | 93a85fc17bf65ba58421afb30be2c9a73ed1c6b5 /rpc/xdr/src/cli1-xdr.c | |
parent | 29ac0febecbca0700bb4b1e2335b8dace5ff452c (diff) |
geo-replication: revamp CONFIG command
Drop the config_type RPC req field, use just a "subop" key in the param dict.
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2785 (gsyncd logs on slave side go to /dev/null)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2785
Diffstat (limited to 'rpc/xdr/src/cli1-xdr.c')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/xdr/src/cli1-xdr.c b/rpc/xdr/src/cli1-xdr.c index 0f5dc98669c..e0a1e1075b1 100644 --- a/rpc/xdr/src/cli1-xdr.c +++ b/rpc/xdr/src/cli1-xdr.c @@ -749,10 +749,10 @@ 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->subop, ~0)) + return FALSE; if (!xdr_string (xdrs, &objp->master, ~0)) return FALSE; if (!xdr_string (xdrs, &objp->slave, ~0)) |