summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/movinggc.c
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-07-25 01:04:18 (GMT)
committerKent Overstreet <kmo@daterainc.com>2013-11-11 05:56:09 (GMT)
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 80e30d7..219356f 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);