summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.c
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2019-06-24 18:32:52 +0530
committerAtin Mukherjee <amukherj@redhat.com>2019-06-25 10:44:24 +0000
commit390cd44b7d0f894a05750245a87d74a7f814493d (patch)
tree6cbfc04cc912d98934dee3d03410c7e40221bebf /xlators/mgmt/glusterd/src/glusterd-utils.c
parenta066fd70e579db9099251f1debac02f0a87de4c1 (diff)
glusterd: ignore user.* options from compatibility check in brick mux
user.* options are just custom and they don't contribute anything in terms of determining the volume compatibility in brick multiplexing Fixes: bz#1723402 Change-Id: Ic7e0181ab72993d29cab345cde64ae1340bf4faf Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 82a6ca0aaee..b004b2e42d6 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -2235,6 +2235,9 @@ unsafe_option(dict_t *this, char *key, data_t *value, void *arg)
if (fnmatch("*diagnostics.client-log*", key, 0) == 0) {
return _gf_false;
}
+ if (fnmatch("user.*", key, 0) == 0) {
+ return _gf_false;
+ }
return _gf_true;
}