From df12073c4cc8340eb85b5d25c2da84fc21ec1f38 Mon Sep 17 00:00:00 2001 From: Rajesh Amaravathi Date: Tue, 31 Jan 2012 17:04:37 +0530 Subject: cli/glusterd: volume status modification * Method of getting mount details of brick has been changed from direct reading of /etc/mtab to using libc's , providing a fairly portable version independent of different linux distributions. It is only supported on Linux though. * Wrong fs type (rootfs for /) in fedora-based distributions has been fixed. * Allows options (detail, mem, fd, et al) to "all" volumes. * Use of the fnmatch's GNU extension flag, FNM_LEADING_DIR is restricted to Linux hosts only. In case of non-Linux hosts, partial match functionality is absent. Change-Id: I102ce808c192ef635c2536a2167101be0aa0fc50 BUG: 786367 Signed-off-by: Rajesh Amaravathi Reviewed-on: http://review.gluster.com/2705 Tested-by: Gluster Build System Reviewed-by: Jeff Darcy Reviewed-by: Vijay Bellur --- rpc/xdr/src/cli1-xdr.h | 1 - rpc/xdr/src/cli1-xdr.x | 1 - 2 files changed, 2 deletions(-) (limited to 'rpc/xdr/src') diff --git a/rpc/xdr/src/cli1-xdr.h b/rpc/xdr/src/cli1-xdr.h index ea8ab02b6c7..d136ec255b8 100644 --- a/rpc/xdr/src/cli1-xdr.h +++ b/rpc/xdr/src/cli1-xdr.h @@ -161,7 +161,6 @@ enum gf1_cli_top_op { typedef enum gf1_cli_top_op gf1_cli_top_op; enum gf_cli_status_type { - GF_CLI_STATUS_INVAL = -1, GF_CLI_STATUS_NONE = 0x000, GF_CLI_STATUS_MEM = 0x001, GF_CLI_STATUS_CLIENTS = 0x002, diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x index a2edc57ebab..5f491c7b47e 100644 --- a/rpc/xdr/src/cli1-xdr.x +++ b/rpc/xdr/src/cli1-xdr.x @@ -106,7 +106,6 @@ enum gf1_cli_top_op { /* The unconventional hex numbers help us perform bit-wise operations which reduces complexity */ enum gf_cli_status_type { - GF_CLI_STATUS_INVAL = -1, GF_CLI_STATUS_NONE = 0x000, GF_CLI_STATUS_MEM = 0x001, /*000000000001*/ GF_CLI_STATUS_CLIENTS = 0x002, /*000000000010*/ -- cgit