diff options
author | Anand Avati <avati@redhat.com> | 2013-03-25 20:34:43 -0700 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-03-28 19:50:57 -0700 |
commit | 0b81f2801b7a72130d86c88da938f288430cd3e5 (patch) | |
tree | 60060bf5e42a8a9d661eb59ca6b81cddb04f1cae /rpc | |
parent | 6ae6f3db02ec374448e9286b03651849ae30dff0 (diff) |
cluster/afr: fix fd leak with unsafe call_resume()
Introduce AFR_CALL_RESUME macro which cleans up frame->local, like
how AFR_STACK_UNWIND etc. do.
Therefore fix leak in afr_fsync() path.
Change-Id: I3855d8e7e84dbc44e05f507563b7f722bf9621b8
BUG: 927146
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/4745
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions