summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/movinggc.c
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-07-25 05:04:18 +0400
committerKent Overstreet <kmo@daterainc.com>2013-11-11 09:56:09 +0400
commitb54d6934da7857f87b092df9b77dc1f42818ba94 (patch)
treef505788c5308287f65c0b2bc58e9ff358f336d03 /drivers/md/bcache/movinggc.c
parentc18536a72ddd7fe30d63e6c1500b5c930ac14594 (diff)
downloadlinux-b54d6934da7857f87b092df9b77dc1f42818ba94.tar.xz
bcache: Kill op->cl
This isn't used for waiting asynchronously anymore - so this is a fairly trivial refactoring. Signed-off-by: Kent Overstreet <kmo@daterainc.com>
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);