diff options
author | Kaushal M <kaushal@gluster.com> | 2011-09-14 18:29:18 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-10-01 05:54:42 -0700 |
commit | acea7409a35d03c438ff2738f701add26f0061c9 (patch) | |
tree | b9a46fcf984a97f55b706f2373dcfdad12f5e81c /rpc/xdr/src/cli1-xdr.c | |
parent | 795c8996c18f5e8ef5986581644374d0c5068772 (diff) |
glusterd, cli: adds 'force' for 'peer detach'
Adds add a 'force' option to 'peer detach' to forcefully detach a peer from a
cluster, even when the cluster contains volumes with bricks on the peer.
Change-Id: I134df51c16a07345c8869b318141d427b572eba5
BUG: 3549
Reviewed-on: http://review.gluster.com/429
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishnan Parthasarathi <kp@gluster.com>
Diffstat (limited to 'rpc/xdr/src/cli1-xdr.c')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/xdr/src/cli1-xdr.c b/rpc/xdr/src/cli1-xdr.c index 5885000cd..d325ac42a 100644 --- a/rpc/xdr/src/cli1-xdr.c +++ b/rpc/xdr/src/cli1-xdr.c @@ -255,6 +255,8 @@ xdr_gf1_cli_deprobe_req (XDR *xdrs, gf1_cli_deprobe_req *objp) return FALSE; if (!xdr_int (xdrs, &objp->port)) return FALSE; + if (!xdr_int (xdrs, &objp->flags)) + return FALSE; return TRUE; } |