summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2011-08-21 15:56:33 +0530
committerVijay Bellur <vijay@gluster.com>2011-08-21 03:40:11 -0700
commit22b5de922b7d4ce57db48b3ad518e98a9c91f4ee (patch)
tree944c3ded216f0e14e913a1af2bb494e84b7091b3 /xlators/cluster
parent350ae611cad29a0ad95d3e209a858d693579c1b2 (diff)
cluster/afr: set frame local
Change-Id: I861b3c4494735b0ba6e038cdc39c50b9866747a8 BUG: 3448 Reviewed-on: http://review.gluster.com/283 Reviewed-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/afr/src/afr-inode-write.c2
-rw-r--r--xlators/cluster/afr/src/afr-open.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c
index faf3db40041..32b2e9a923e 100644
--- a/xlators/cluster/afr/src/afr-inode-write.c
+++ b/xlators/cluster/afr/src/afr-inode-write.c
@@ -1341,7 +1341,7 @@ afr_fsetattr (call_frame_t *frame, xlator_t *this,
local->fd = fd_ref (fd);
- op_ret = afr_open_fd_fix (frame, this, _gf_false);
+ op_ret = afr_open_fd_fix (transaction_frame, this, _gf_false);
if (ret) {
op_errno = -op_ret;
op_ret = -1;
diff --git a/xlators/cluster/afr/src/afr-open.c b/xlators/cluster/afr/src/afr-open.c
index 02d8f3ded3b..ee037e5dfbb 100644
--- a/xlators/cluster/afr/src/afr-open.c
+++ b/xlators/cluster/afr/src/afr-open.c
@@ -331,6 +331,7 @@ afr_fix_open (call_frame_t *frame, xlator_t *this, afr_fd_ctx_t *fd_ctx,
goto out;
}
ALLOC_OR_GOTO (open_local, afr_local_t, out);
+ open_frame->local = open_local;
ret = AFR_LOCAL_INIT (open_local, priv);
if (ret < 0) {
op_errno = -ret;