diff options
Diffstat (limited to 'glusterfsd')
| -rw-r--r-- | glusterfsd/src/glusterfsd-mgmt.c | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index 873844f554b..d2a95a64bb3 100644 --- a/glusterfsd/src/glusterfsd-mgmt.c +++ b/glusterfsd/src/glusterfsd-mgmt.c @@ -1366,6 +1366,15 @@ xlator_equal_rec (xlator_t *xl1, xlator_t *xl2)                  ret = -1;                  goto out;          } + +	/* type could have changed even if xlator names match, +	   e.g cluster/distrubte and cluster/nufa share the same +	   xlator name +	*/ +        if (strcmp (xl1->type, xl2->type)) { +                ret = -1; +                goto out; +        }  out :          return ret;  }  | 
