summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2013-06-24 08:15:09 +0530
committerAnand Avati <avati@redhat.com>2013-06-24 09:45:19 -0700
commit03f5172dd50b50988c65dd66e87a0d43e78a3810 (patch)
tree05002a07bebe93f15ad5e0925545eac7d010cb80 /xlators/cluster/afr
parentde31ac421953997ad148aea87f7176b2a10f07c4 (diff)
cluster/afr: Fix fd/memory leak on fsync
Change-Id: I764883811e30ca9d9c249ad00b6762101083a2fe BUG: 976800 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/5248 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r--xlators/cluster/afr/src/afr-transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-transaction.c b/xlators/cluster/afr/src/afr-transaction.c
index 2bfd5daca4a..8f3673acee9 100644
--- a/xlators/cluster/afr/src/afr-transaction.c
+++ b/xlators/cluster/afr/src/afr-transaction.c
@@ -1595,7 +1595,7 @@ unlock:
local->transaction.resume_stub = stub;
afr_changelog_post_op_safe (prev_frame, this);
} else if (stub) {
- call_resume (stub);
+ AFR_CALL_RESUME (stub);
}
}