From 6992e4e37df9b12aa3582bb71341e9591d9f6e20 Mon Sep 17 00:00:00 2001 From: Lalatendu Mohanty Date: Sun, 5 Jan 2014 01:01:39 +0530 Subject: glusterd: Comments for missing break in switchcase of glusterd_op_stage_quota Change-Id: I3ac5b73b9703a390f1de9cd6a999dfd8ec27d379 Signed-off-by: Lalatendu Mohanty Reviewed-on: http://review.gluster.org/6645 Reviewed-by: Vijay Bellur Tested-by: Vijay Bellur --- xlators/mgmt/glusterd/src/glusterd-quota.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/mgmt/glusterd/src') 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, -- cgit