summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 53a4c24c14c..42aec466cd7 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -4965,7 +4965,7 @@ glusterd_quota_get_limit_usages (glusterd_conf_t *priv,
ctx = glusterd_op_get_ctx (GD_OP_QUOTA);
if (ctx == NULL)
- return -1;
+ goto out;
ret = dict_get_int32 (dict, "count", &count);
if (ret < 0)