diff options
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 e5b97f7c4a5..fd7db3e032c 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; } |