diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-08-23 01:42:47 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-23 00:23:47 -0700 |
commit | 436f2b329f41f28a65fc4898df5435f154bd6027 (patch) | |
tree | f37178a4d0104d93a33ccad3e38977080b6d270c /libglusterfs | |
parent | 0d33cce6f7bbb71abe0086469f2f726151b0e62c (diff) |
rpcsvc: allow creation of both rdma and socket for a single server transport.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 513 (Introduce 0 copy rdma)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=513
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/xlator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index e5b97f7c4..fd7db3e03 100644 --- a/libglusterfs/src/xlator.c +++ b/libglusterfs/src/xlator.c @@ -375,8 +375,8 @@ _volume_option_value_validate (xlator_t *xl, for (i = 0; (i < ZR_OPTION_MAX_ARRAY_SIZE) && opt->value[i]; i++) { - if (strcasecmp (opt->value[i], - pair->value->data) == 0) { + if (fnmatch (opt->value[i], pair->value->data, + FNM_EXTMATCH) == 0) { ret = 0; break; } |