From 436f2b329f41f28a65fc4898df5435f154bd6027 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Mon, 23 Aug 2010 01:42:47 +0000 Subject: rpcsvc: allow creation of both rdma and socket for a single server transport. Signed-off-by: Raghavendra G Signed-off-by: Anand V. Avati BUG: 513 (Introduce 0 copy rdma) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=513 --- libglusterfs/src/xlator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libglusterfs/src/xlator.c') 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; } -- cgit