diff options
author | Santosh Kumar Pradhan <spradhan@redhat.com> | 2014-04-25 18:04:08 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-05-03 12:43:25 -0700 |
commit | 49d235361cb42746329453121e83beeb7fe611e5 (patch) | |
tree | 5c975729dffd26f9050da63fd0b04f34e7865459 /libglusterfs | |
parent | e73fc9939aecfa9f7955653d02f12243aba02fc6 (diff) |
protocol/server: Validate outstanding-rpc-limit
server.outstanding-rpc-limit by passes validation enforcement of gluster
as protocol/server ignores any keys starting with rpc (rpc* wildcard).
Which also causes a side effect, i.e. help text gets displayed as NULL.
Change-Id: I925e028529d671e1e29a0c7ff7e625fdb49a1be4
BUG: 1091364
Signed-off-by: Santosh Kumar Pradhan <spradhan@redhat.com>
Reviewed-on: http://review.gluster.org/7562
Reviewed-by: Poornima G <pgurusid@redhat.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/common-utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index f11c95fa873..21f8e3cb26e 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -42,7 +42,8 @@ void trap (void); #include "mem-pool.h" #include "uuid.h" - +#define STRINGIFY(val) #val +#define TOSTRING(val) STRINGIFY(val) #define min(a,b) ((a)<(b)?(a):(b)) #define max(a,b) ((a)>(b)?(a):(b)) |