summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunaid <junaid@gluster.com>2011-09-23 19:13:40 +0530
committerVijay Bellur <vijay@gluster.com>2011-09-23 07:21:03 -0700
commitedd9461647e845074cdf7f189af5ee0b2b5cae8b (patch)
treee5a25a12072c795f036541555dcfc1ccb0bb9397
parent9564e09e5315846a38ed18e05630ef73be5b2adb (diff)
mgmt/glusterd: Ignore error when glusterd_op_get_ctx fails on other glusterd.v3.2.4qa4
Change-Id: I6bc8caf10b0088e403361697f09c071c4cd4fdc9 BUG: 3078 Reviewed-on: http://review.gluster.com/495 Reviewed-by: Vijay Bellur <vijay@gluster.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-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 53a4c24..42aec46 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)