diff options
author | Lalatendu Mohanty <lmohanty@redhat.com> | 2014-01-05 01:01:39 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-01-10 23:05:24 -0800 |
commit | 6992e4e37df9b12aa3582bb71341e9591d9f6e20 (patch) | |
tree | f46845fea25012344ab1b8340edc10092de41598 /xlators/mgmt | |
parent | 2edf1ec797e6f56515d0208be152d18ca6e71456 (diff) |
glusterd: Comments for missing break in switchcase of glusterd_op_stage_quota
Change-Id: I3ac5b73b9703a390f1de9cd6a999dfd8ec27d379
Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
Reviewed-on: http://review.gluster.org/6645
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-quota.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-quota.c b/xlators/mgmt/glusterd/src/glusterd-quota.c index f46f08787ab..3c8dcf8dd1c 100644 --- a/xlators/mgmt/glusterd/src/glusterd-quota.c +++ b/xlators/mgmt/glusterd/src/glusterd-quota.c @@ -1403,6 +1403,9 @@ glusterd_op_stage_quota (dict_t *dict, char **op_errstr, dict_t *rsp_dict) "greater than INT64_MAX", hard_limit_str); goto out; } + /*The break statement is missing here to allow intentional fall + * through of code execution to the next switch case + */ case GF_QUOTA_OPTION_TYPE_REMOVE: ret = glusterd_get_gfid_from_brick (dict, volinfo, rsp_dict, |