summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr/src/afr-common.c')
-rw-r--r--xlators/cluster/afr/src/afr-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c
index 6c06fd9b7b5..58c33e20d36 100644
--- a/xlators/cluster/afr/src/afr-common.c
+++ b/xlators/cluster/afr/src/afr-common.c
@@ -502,7 +502,7 @@ afr_replies_interpret (call_frame_t *frame, xlator_t *this, inode_t *inode)
}
afr_accused_fill (this, replies[i].xdata, data_accused,
- (inode->ia_type == IA_IFDIR) ?
+ (replies[i].poststat.ia_type == IA_IFDIR) ?
AFR_ENTRY_TRANSACTION : AFR_DATA_TRANSACTION);
afr_accused_fill (this, replies[i].xdata,