From e576a061c394dea5a665ea8a6185831fe13d4af7 Mon Sep 17 00:00:00 2001 From: hari gowtham Date: Fri, 3 Feb 2017 15:55:47 +0530 Subject: Tier: remove warning related to the enum back-port of : https://review.gluster.org/#/c/16539/ PROBLEM: In the tier as a service patch the enums for tier (from gf1_op_command and gf_defrag_command) are put into a single enum gf_defrag_command which causes a warning that will make the build fail. FIX: send both the enum and eliminate the warning. >Change-Id: I899ff622dfb07134e6459aa65f65ea7252765293 >BUG: 1418973 >Signed-off-by: hari gowtham >Reviewed-on: https://review.gluster.org/16539 >Smoke: Gluster Build System >Tested-by: hari gowtham >NetBSD-regression: NetBSD Build System >CentOS-regression: Gluster Build System >Reviewed-by: Atin Mukherjee Change-Id: I8d2ec89b8689066091ab58406d225e1058f435cf BUG: 1419846 Signed-off-by: hari gowtham Reviewed-on: https://review.gluster.org/16553 Smoke: Gluster Build System Tested-by: hari gowtham NetBSD-regression: NetBSD Build System Reviewed-by: Atin Mukherjee CentOS-regression: Gluster Build System --- rpc/xdr/src/cli1-xdr.x | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rpc/xdr') diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x index 8a64351c974..0feb9360284 100644 --- a/rpc/xdr/src/cli1-xdr.x +++ b/rpc/xdr/src/cli1-xdr.x @@ -14,7 +14,8 @@ %#include "compat.h" enum gf_cli_defrag_type { - GF_DEFRAG_CMD_START = 1, + GF_DEFRAG_CMD_NONE = 0, + GF_DEFRAG_CMD_START, GF_DEFRAG_CMD_STOP, GF_DEFRAG_CMD_STATUS, GF_DEFRAG_CMD_START_LAYOUT_FIX, -- cgit