summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/quota/src/quota.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index dc3ed30a..8f63c7ae 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;
}