summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-dir-write.c
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2015-06-24 08:02:51 +0530
committerVijay Bellur <vbellur@redhat.com>2015-06-24 17:11:00 -0700
commit4c751009f668910a734cd400c10e8b3bdd6360a1 (patch)
tree9fa6f4e5b679073f6b4d61f4114d56b7ba4c4652 /xlators/cluster/afr/src/afr-dir-write.c
parent2f0d36d16c241365760aaa6d857b7a4d438e1042 (diff)
cluster/afr: Pick gfid from poststat during fresh lookup for read child calculation
Change-Id: I12c1e4f67f4ec4affbe13d7daf871044a8a2a12e BUG: 1235216 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/11373 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/cluster/afr/src/afr-dir-write.c')
-rw-r--r--xlators/cluster/afr/src/afr-dir-write.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/cluster/afr/src/afr-dir-write.c b/xlators/cluster/afr/src/afr-dir-write.c
index 05b4cc0..8f525be 100644
--- a/xlators/cluster/afr/src/afr-dir-write.c
+++ b/xlators/cluster/afr/src/afr-dir-write.c
@@ -90,14 +90,14 @@ __afr_dir_write_finalize (call_frame_t *frame, xlator_t *this)
if (local->inode) {
afr_replies_interpret (frame, this, local->inode);
inode_read_subvol = afr_data_subvol_get (local->inode, this,
- NULL, NULL);
+ NULL, NULL, NULL);
}
if (local->parent)
parent_read_subvol = afr_data_subvol_get (local->parent, this,
- NULL, NULL);
+ NULL, NULL, NULL);
if (local->parent2)
parent2_read_subvol = afr_data_subvol_get (local->parent2, this,
- NULL, NULL);
+ NULL, NULL, NULL);
local->op_ret = -1;
local->op_errno = afr_final_errno (local, priv);