diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-06-24 08:02:51 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-06-25 19:36:41 -0700 |
commit | 7a99dacc0eb5c31ba2d95615f4fe787c03a311df (patch) | |
tree | 7e0b69de9b11a0d868847be5ed3b123f46467f84 /xlators/cluster/afr/src/afr-inode-write.c | |
parent | 90f5a6cd669660785213a187c9fa7a587cd15257 (diff) |
cluster/afr: Pick gfid from poststat during fresh lookup for read child calculation
Backport of: http://review.gluster.org/11373
Change-Id: I3ddc70cb0e7dbd1ef8adb352393b5ec16464fc94
BUG: 1212842
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/11391
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-inode-write.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-inode-write.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c index 3db4010e997..e457a94501f 100644 --- a/xlators/cluster/afr/src/afr-inode-write.c +++ b/xlators/cluster/afr/src/afr-inode-write.c @@ -53,10 +53,11 @@ __afr_inode_write_finalize (call_frame_t *frame, xlator_t *this) if (local->inode) { if (local->transaction.type == AFR_METADATA_TRANSACTION) read_subvol = afr_metadata_subvol_get (local->inode, this, - NULL, NULL); + NULL, NULL, + NULL); else read_subvol = afr_data_subvol_get (local->inode, this, - NULL, NULL); + NULL, NULL, NULL); } local->op_ret = -1; |