diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2014-08-21 17:27:17 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-09-16 04:26:40 -0700 |
commit | dfaf76cffe37183c1b8072961b085f705c1c978f (patch) | |
tree | 82826604c29d3a8328486858378427a6ab0727e1 /xlators/cluster/afr/src/afr-self-heal-data.c | |
parent | cd5a5d32996d2f1141adac94816ad2292a693ebf (diff) |
cluster/afr: Propagate EIO on inode's type mismatch
Backport of: http://review.gluster.org/8574, and
http://review.gluster.org/8586
Original author of the test script:
Pranith Kumar K <pkarampu@redhat.com>
Change-Id: I0c32bdd8e666f8175c0a8fbf940934e6ce469931
BUG: 1136830
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/8706
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-data.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-data.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-data.c b/xlators/cluster/afr/src/afr-self-heal-data.c index a8a2607dbe9..455648b7564 100644 --- a/xlators/cluster/afr/src/afr-self-heal-data.c +++ b/xlators/cluster/afr/src/afr-self-heal-data.c @@ -455,8 +455,7 @@ __afr_selfheal_data_prepare (call_frame_t *frame, xlator_t *this, fd_t *fd, if (ret) return ret; - ret = afr_selfheal_find_direction (frame, this, replies, - AFR_DATA_TRANSACTION, + ret = afr_selfheal_find_direction (this, replies, AFR_DATA_TRANSACTION, locked_on, sources, sinks); if (ret) return ret; |