summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/ec/src/ec-common.c')
-rw-r--r--xlators/cluster/ec/src/ec-common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/cluster/ec/src/ec-common.c b/xlators/cluster/ec/src/ec-common.c
index 3ae7f110d99..a46cf6b1c55 100644
--- a/xlators/cluster/ec/src/ec-common.c
+++ b/xlators/cluster/ec/src/ec-common.c
@@ -1136,12 +1136,6 @@ void ec_get_size_version(ec_lock_link_t *link)
!(ec->node_mask & ~link->lock->good_mask) && !ec_is_data_fop (fop->id))
link->optimistic_changelog = _gf_true;
- /* If ctx->have_info is false and lock->query is true, it means that we'll
- * send the xattrop anyway, so we can use it to update dirty counts, even
- * if it's not necessary to do it right now. */
- if (!ctx->have_info && lock->query)
- link->optimistic_changelog = _gf_false;
-
set_dirty = ec_set_dirty_flag (link, ctx, dirty);
/* If ec metadata has already been retrieved, do not try again. */