diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-24 21:04:18 -0400 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-11 00:56:09 -0500 |
commit | b54d6934da7857f87b092df9b77dc1f42818ba94 (patch) | |
tree | f505788c5308287f65c0b2bc58e9ff358f336d03 /drivers/md/bcache/movinggc.c | |
parent | c18536a72ddd7fe30d63e6c1500b5c930ac14594 (diff) |
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.c | 4 |
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) | |||
108 | s->op.type = BTREE_REPLACE; | 108 | s->op.type = BTREE_REPLACE; |
109 | bkey_copy(&s->op.replace, &io->w->key); | 109 | bkey_copy(&s->op.replace, &io->w->key); |
110 | 110 | ||
111 | closure_init(&s->op.cl, cl); | 111 | closure_init(&s->btree, cl); |
112 | bch_data_insert(&s->op.cl); | 112 | bch_data_insert(&s->btree); |
113 | } | 113 | } |
114 | 114 | ||
115 | continue_at(cl, write_moving_finish, system_wq); | 115 | continue_at(cl, write_moving_finish, system_wq); |