diff options
Diffstat (limited to 'xlators')
| -rw-r--r-- | xlators/features/quota/src/quota.c | 13 | 
1 files changed, 8 insertions, 5 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index dc3ed30a7b2..8f63c7aea63 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -2746,11 +2746,14 @@ reconfigure (xlator_t *this, dict_t *options)          }          ret = quota_parse_options (priv, this, options); - -        if (ret == -1) -                GF_ASSERT (0); - -        return ret; +        if (ret == -1) { +                gf_log ("quota", GF_LOG_WARNING, +                        "quota reconfigure failed, " +                        "new changes will not take effect"); +                goto out; +        } +out: +        return 0;  }  | 
