summaryrefslogtreecommitdiff
path: root/libbcachefs/data_update.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/data_update.c')
-rw-r--r--libbcachefs/data_update.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libbcachefs/data_update.c b/libbcachefs/data_update.c
index cb25efb6..3102166d 100644
--- a/libbcachefs/data_update.c
+++ b/libbcachefs/data_update.c
@@ -104,7 +104,6 @@ static int bch2_data_update_index_update(struct bch_write_op *op)
struct btree_iter iter;
struct data_update *m =
container_of(op, struct data_update, op);
- struct open_bucket *ec_ob = ec_open_bucket(c, &op->open_buckets);
struct keylist *keys = &op->insert_keys;
struct bkey_buf _new, _insert;
int ret = 0;
@@ -232,9 +231,6 @@ static int bch2_data_update_index_update(struct bch_write_op *op)
if (!ret) {
bch2_btree_iter_set_pos(&iter, next_pos);
- if (ec_ob)
- bch2_ob_add_backpointer(c, ec_ob, &insert->k);
-
this_cpu_add(c->counters[BCH_COUNTER_move_extent_finish], new->k.size);
trace_move_extent_finish(&new->k);
}