summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/movinggc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/bcache/movinggc.c')
-rw-r--r--drivers/md/bcache/movinggc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bcache/movinggc.c b/drivers/md/bcache/movinggc.c
index 80e30d77221e..219356f6159d 100644
--- a/drivers/md/bcache/movinggc.c
+++ b/drivers/md/bcache/movinggc.c
@@ -108,8 +108,8 @@ static void write_moving(struct closure *cl)
s->op.type = BTREE_REPLACE;
bkey_copy(&s->op.replace, &io->w->key);
- closure_init(&s->op.cl, cl);
- bch_data_insert(&s->op.cl);
+ closure_init(&s->btree, cl);
+ bch_data_insert(&s->btree);
}
continue_at(cl, write_moving_finish, system_wq);
OpenPOWER on IntegriCloud