summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/ec')
-rw-r--r--xlators/cluster/ec/src/ec-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/ec/src/ec-common.c b/xlators/cluster/ec/src/ec-common.c
index 439773e1ac8..0a173bf0104 100644
--- a/xlators/cluster/ec/src/ec-common.c
+++ b/xlators/cluster/ec/src/ec-common.c
@@ -414,7 +414,7 @@ int32_t ec_child_select(ec_fop_data_t * fop)
* head/tail read in case of writev fop. Unlocks shouldn't do this because
* unlock should go on all subvols where lock is performed*/
if (fop->parent && !ec_must_wind (fop))
- fop->mask &= fop->parent->mask;
+ fop->mask &= (fop->parent->mask & ~fop->parent->healing);
mask = ec->xl_up;
if (fop->parent == NULL)