diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2014-06-26 11:29:19 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2014-07-08 01:06:11 -0700 |
commit | 671145d09616b3cb2bd62810a916841a35b96e75 (patch) | |
tree | 7526a72b3b2dda94019affc79a41b94c6348d3e6 /xlators/features/quota/src/quotad-aggregator.c | |
parent | 515113f243c1ff805139f600a98343f21bb2b885 (diff) |
quotad: Remove dead code
Backport of http://review.gluster.org/8180
client_t is created by server xlator for managing connection related
resources. Quotad doesn't do that. So no need to handle anything related
to it.
BUG: 1113403
Change-Id: I4f457b60c0b3377f8980857a883da1cf3e44d16e
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/8227
Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators/features/quota/src/quotad-aggregator.c')
-rw-r--r-- | xlators/features/quota/src/quotad-aggregator.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xlators/features/quota/src/quotad-aggregator.c b/xlators/features/quota/src/quotad-aggregator.c index f3f65ca2a04..bf7a845fd22 100644 --- a/xlators/features/quota/src/quotad-aggregator.c +++ b/xlators/features/quota/src/quotad-aggregator.c @@ -112,12 +112,8 @@ ret: quotad_aggregator_free_state (state); } - if (frame) { - if (frame->root->client) - gf_client_unref (frame->root->client); - + if (frame) STACK_DESTROY (frame->root); - } if (new_iobref) { iobref_unref (iobref); |